Query Status of Adding Table Data
Última actualización:

Query Status of Adding Table Data

Use this API to query the processing status of tasks for adding table data.

Request Method

GET

Endpoint

https://api.gptbots.ai/v1/database/query/import-results?ids=673b0b22ffbee46d50063f39

Authentication

Refer to the authentication method description in API Overview for details.

Request

Request Example

curl -X GET https://api.gptbots.ai/v1/database/update/record \ -H 'Authorization: Bearer your_apikey' \ -H 'Content-Type: application/json'
          curl -X GET https://api.gptbots.ai/v1/database/update/record \ 
  -H 'Authorization: Bearer your_apikey' \ 
  -H 'Content-Type: application/json'

        
Este bloque de código en la ventana flotante

Request Headers

Field Type Description
Authorization Bearer ${token} Use Authorization: Bearer ${token} for authentication. Obtain the token from the API key page.
Content-Type application/json Data type, value is application/json.

Request Body

Field Type Required Description
ids list Yes Collection of task IDs for adding data.

Response

Response Example

{ "code": 0, "message": "OK", "data": [ { "id": "673e9cda9f7bc178002dbd9c", "progress": 0, "status": "FAIL" } ] }
          {
    "code": 0,
    "message": "OK",
    "data": [
        {
            "id": "673e9cda9f7bc178002dbd9c",
            "progress": 0,
            "status": "FAIL"
        }
    ]
}

        
Este bloque de código en la ventana flotante

Successful Response

Field Type Description
code int Type code of the message.
message string Message description.
progress int Progress value.
status string Export result.
id string Export task ID.

Failed Response

Field Type Description
code int Error code.
message string Error details.

Error Codes

Code Message
50000 Internal system error