runs
Run an integration's tool
Run one of an integration's tools and return its job.
It works like POST /v1/runs, with the tool named in the path. An integration key reaches only its own integration's tools.
post/v1/integrations/{id}/tools/{tool_id}/runs
Request
- Base URL: https://api.pomerado.ai
- URL: https://api.pomerado.ai/v1/integrations/{id}/tools/{tool_id}/runs
- Auth: HTTP bearer
Path parameters
idstring required
Example:int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
an integration ID: int_ and 32 lowercase hex digits
tool_idstring required
A tool ID from GET /v1/tools: tool_ and 32 lowercase hex digits
Headers
Idempotency-Keystring
1 to 200 letters, digits, _ or -, such as a UUID
Repeat a request safely: the same key and body answer the first request's job again with Idempotent-Replayed: true; the same key with a different body answers idempotency_conflict.
Request body
Example request
{
"login_id": "login_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"
}Response
The job this Idempotency-Key already started, with Idempotent-Replayed: true
Example response
{
"id": "job_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190",
"input_request": {
"id": "req_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"
},
"build": {
"integration_id": "int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.