> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# submit_request

### submit\_request

<ul>
  <li>
    submit\_request\<[T](https://docs.kinetica.com/content/api/typescript/classes/GPUdb/submit.md#submit_requestt) = Record\<string, any>>(\
    &#x20;endpoint: string,\
    &#x20;request: Record\<string, any>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md),\
    ): Promise\<[T](https://docs.kinetica.com/content/api/typescript/classes/GPUdb/submit.md#submit_requestt)>

    Submits a request to any endpoint by path.For endpoints without a generated method, such as those of the host manager, and for callers that already hold a request object. The call behaves exactly like the generated methods: it fails over, it is job-wrapped when the endpoint is in `job_endpoints`, it returns a promise and invokes the optional callback, and in the standalone build it blocks and returns the response itself when no callback is given.

    #### Type Parameters

    <ul>
      <li>T = Record\<string, any></li>
    </ul>

    #### Parameters

    <ul>
      <li>
        endpoint: string

        The endpoint path, such as `/show/table`
      </li>

      <li>
        request: Record\<string, any>

        The request object, matching the endpoint's schema
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[T](https://docs.kinetica.com/content/api/typescript/classes/GPUdb/submit.md#submit_requestt)>

    Promise resolving to the endpoint's response

    #### Example

    ```
    const status = await db.submit_request('/show/system/status', { options: {} });
    ```

    <ul>
      <li>Defined in [src/GPUdb.ts:1847](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L1847)</li>
    </ul>
  </li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.