Discover OpenAPI tools
Queues a tool collection run for a connector created from an OpenAPI spec. The run reads the connector's spec again and updates its tools to match. It returns at once with the status QUEUED: poll OpenAPI tool discovery status with the returned run_id for the outcome.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Path parameters
provider_identifierstringrequiredidentifier (NAME:environment-id), not its id.scalekit_client.actions.invoke_tool_collection
Queues a tool collection run for a connector created from an OpenAPI spec. Follow the run with get_tool_collection_run.
scalekit_client.actions.invoke_tool_collection( provider_identifier: str,) -> ToolCollectionRunParameters
provider_identifierstrrequiredidentifier (NAME:environment-id), not its id.Returns ToolCollectionRun: The queued ToolCollectionRun.
From scalekit-sdk-python 2.26.0.
scalekit.actions.invokeToolCollection
Queues a tool collection run for a connector created from an OpenAPI spec. Follow the run with getToolCollectionRun.
scalekit.actions.invokeToolCollection( params: { providerIdentifier: string; },): Promise<ToolCollectionRun>Parameters
providerIdentifierstringrequiredidentifier (NAME:environment-id), not its id.Returns Promise<ToolCollectionRun>: The queued ToolCollectionRun.
From @scalekit-sdk/node 2.24.0.
Response 200
created_atstringerror_messagestringstatus is FAILED.finished_atstringprovider_identifierstringrun_idstringskipped_tools_jsonstringstarted_atstringstatusstringQUEUED, PROCESSING, COMPLETED or FAILED.tools_createdintegertools_deletedintegertools_updatedintegertotal_endpointsintegerErrors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request - the connector was not created from an OpenAPI spec404Not Found - no connector has this identifier409Conflict - RESOURCE_ALREADY_EXISTS when a tool collection run is already queued or processing for this connector