Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

OpenAPI tool discovery status

GET/api/v1/custom-providers/{provider_identifier}/tool-collection-runs/{run_id}

Returns one tool collection run of a connector created from an OpenAPI spec: its status, counters and, once it has ended, the operations it skipped. Pass the run_id that Discover OpenAPI tools returned, or latest for the connector's most recent run, such as the one that creating the connector queued.

Authorization

Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.

Path parameters

provider_identifierstringrequired
The connector's identifier (NAME:environment-id), not its id.
run_idstringrequired
The run's ID from Discover OpenAPI tools, or latest for the most recent run.

Response 200

created_atstring
When the run was queued.
error_messagestring
Why the run failed. Empty unless status is FAILED.
finished_atstring
When the run ended.
provider_identifierstring
Identifier of the connector the run belongs to.
run_idstring
ID of the run.
skipped_tools_jsonstring
JSON text listing the operations the run did not turn into tools. Empty until the run ends.
started_atstring
When the run started.
statusstring
QUEUED, PROCESSING, COMPLETED or FAILED.
tools_createdinteger
Number of tools the run created.
tools_deletedinteger
Number of tools the run deleted because their operation left the spec.
tools_updatedinteger
Number of tools the run updated.
total_endpointsinteger
Number of operations found in the spec.

Errors

Every error has the same body: code, message and details. See Errors and rate limits.

400Invalid request - run_id is not a run ID
404Not Found - no such connector, no run yet, or no such run