Read one API request
get_api_request_statusRead the state of an API request by the request id it was given: pending_review, approved_for_build or closed, whether a build was approved, whether a product was published, and what happens next. Requires the status_token returned once by request_api; the id alone is not a credential.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request_id": "<request_id>",
"status_token": "<status_token>"
},
"name": "get_api_request_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | The request id returned by request_api. | |
| status_token | Yes | The status_token returned once by request_api. Required: the id alone is not a credential. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| state | Yes | ||
| next_step | No | ||
| published | No | ||
| request_id | Yes | ||
| approved_for_build | No | ||
| fulfilable_from_authorised_sources | No |