tools
Request a change to a tool
Changed onRequest a change to an existing tool and return its job.
- Ask for what the tool lacks, such as a filter, an input or an output field, instead of building another tool for the same site. Say the change in plain words.
- A change takes about as long as a build. The tool keeps working meanwhile, and its callers get the change when it publishes. Follow the job with GET /v1/jobs/{id} or job webhooks.
- example_input is the input of the one example the change runs, using any input the change adds. A write tool's change needs it and runs that example once for real.
- Anyone who can run the tool and build tools can ask. A change from someone other than the tool's owner may only add or tighten what the tool returns, never remove or loosen it.
- A change keeps every input working: it may add optional inputs, add allowed values or a default to one, or make a required one optional when the tool handles it missing.
- One change per tool at a time from your account. Another while yours is under way answers change_pending.
post/v1/tools/{id}/changes
Request
- Base URL: https://api.pomerado.ai
- URL: https://api.pomerado.ai/v1/tools/{id}/changes
- Auth: HTTP bearer
Path parameters
idstring required
Example:tool_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
a tool ID: 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
- warning
added the new
pausedenum value to theresponse property for the response status - warning
added the new
pausedenum value to theresponse property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning