runs
Run a tool
Run a website tool once and return its job.
- Follow the job with GET /v1/jobs/{id} or job webhooks until it finishes or needs input. Retry-After suggests when to read it again.
- A tool that signs in uses the site's saved login, and login_id picks one when there are several. login is used only when no login is saved.
- Runs on one saved login go one at a time.
- Send an Idempotency-Key with every write. A retry with the same key returns the same job instead of acting on the website again.
- A result over 256 KiB comes as result_file, a single-use result.json download, with result_preview showing its start, and result is null. A result over 32 MiB fails the run with result_too_large.
post/v1/runs
Request
- Base URL: https://api.pomerado.ai
- URL: https://api.pomerado.ai/v1/runs
- Auth: HTTP bearer
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.