curl --request GET \
--url https://api.goyappr.com/tools \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.goyappr.com/tools"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.goyappr.com/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.goyappr.com/tools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.goyappr.com/tools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.goyappr.com/tools")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/tools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"next_cursor": "<string>",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "webhook",
"name": "<string>",
"description": "<string>",
"config": {
"configured_header_names": [
"<string>"
]
},
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123,
"has_more": true
}
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}List Tools
Requires tools:read. Every row, on both lists, is the same object that tool’s own GET /tools/ answers with - a workflow-owned tool carries workflow_version and its workflow object, a legacy row carries type and config. Use workflow=true for the canonical revision catalog; its cursor is opaque, signed, and bound to the list it was cut for - workspace, environment, limit, status and name - so a cursor from any other list is refused with 422 WORKFLOW_TOOL_CURSOR_INVALID. Archived workflow tools are omitted from both lists unless status=archived asks for exactly them, each in the short form GET /tools/ gives an archived tool (with archived_at). The default mixed list remains a temporary legacy migration boundary.
curl --request GET \
--url https://api.goyappr.com/tools \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.goyappr.com/tools"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.goyappr.com/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.goyappr.com/tools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.goyappr.com/tools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.goyappr.com/tools")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/tools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"next_cursor": "<string>",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "webhook",
"name": "<string>",
"description": "<string>",
"config": {
"configured_header_names": [
"<string>"
]
},
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123,
"has_more": true
}
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}tools:read. Use GET /tools?workflow=true&limit=50 for the canonical revision catalog, returning { "data": [], "next_cursor": null }. Continue with the opaque cursor and the same limit, workspace and environment. The maximum canonical page size is 50.
Finding a tool by name
name narrows the default list to tools whose name contains that text —
case-insensitive, anywhere in the name, newest first:
curl --get "$YAPPR_API_URL/tools" \
--data-urlencode "name=Store orders" \
--header "Authorization: Bearer $YAPPR_API_KEY"
%, _ and * are not wildcards. Leading and
trailing spaces are ignored, and the value is 1–200 characters; an empty,
repeated or over-long name is refused with 400 TOOLS_QUERY_INVALID. With
name, pagination.total counts the matches. It applies to the default list
and to agent_id, and to the archived tools (workflow=true&status=archived).
The rest of the workflow=true catalog has no name filter, so name sent there
is refused with 400 TOOLS_QUERY_INVALID rather than ignored; leave
workflow=true out to find a tool by name — each workflow tool on the default
list carries the same workflow object.
Archived tools are omitted unless you ask for them with status=archived (see Archived tools). Every row, on both lists, is the object that tool’s own Get tool answers with — no private URL queries, header values or execution contracts are returned:
- A workflow-owned tool carries
workflow_version: "workflow_v1"and itsworkflowobject, withcurrent,candidate,head_revision_idandhead_generation, and theconfigured_header_namesof its current revision. It has notypeand noconfig; what it does lives in its revision, not in a webhook configuration. - A legacy row carries
typeandconfig, whereconfigreportsconfigured_header_namesand neverheaders.
Tools whose creation failed
A Create tool that is accepted but cannot be built — an unreachable endpoint contract, a disconnected account — keeps its id and settles atworkflow.status: "failed", with the reason in
workflow.error_code. It has no revision, cannot be bound to a step, and never
becomes a usable tool; it stays readable at GET /tools/{id} so the failure can
be read after the fact.
Those rows are not in the default list. Use status on workflow=true to
reach them:
status | The page contains |
|---|---|
| omitted | Every tool except the ones that failed. This is the default. |
failed | Only the tools whose creation failed. |
archived | Only the tools archived with DELETE /tools/{id}, most recently archived first, each in its short form with archived_at. |
all | Everything that is not archived, failures included. |
workflow.status also reads failed when an edit to a tool that already
has a revision failed — a save conflict, an invalid contract, an account that
went away. That tool is not a failed creation: it keeps its promoted head, is
still bound to whatever steps use it, and stays on the default list. The rows
this filter separates are the ones with workflow.current: null.
Any other value is refused with 422 WORKFLOW_TOOL_REQUEST_INVALID, usable
included — the default is what an omitted status means, not a value to send.
On the mixed list (without workflow=true) the one status is archived: a
failed creation has no tools row, so it was never there, and failed or
all sent there is refused with 400 TOOLS_QUERY_INVALID rather than ignored,
as is status with agent_id. With
status=failed the failed creations are read directly, so a page holds up to
limit of them. Omitted or all, filtering happens after the page is read, so
a page can hold fewer rows than limit while next_cursor still says there is
more; follow the cursor rather than the row count. To retry a failed creation,
fix what it failed on and send the whole tool again to the same id with
PATCH /tools/{id}.
Creating it again makes a second tool beside the failed one.
Archived tools
A tool archived withDELETE /tools/{id} leaves both lists. To find one again — to restore it with POST /tools/{id}/restore when its id is lost — ask for status=archived:
curl "$YAPPR_API_URL/tools?workflow=true&status=archived&limit=50" \
--header "Authorization: Bearer $YAPPR_API_KEY"
id, name, description,
workflow_version, is_active: false, created_at, updated_at,
archived: true, archived_at and workflow.kind — the answer
GET /tools/{id} gives it too. The most recently
archived come first, and name narrows the list the same way it narrows the
default list. Its revisions are not read while it is archived: GET or POST /tools/{id}/workflow-revisions answers 404 WORKFLOW_TOOL_ARCHIVED naming the
restore. On the default list, status=archived pages by limit and offset
like the rest of that list and works with name.
next_cursor is signed: pass it back exactly as it is, with the same limit,
status and name, and never build or edit one. It carries the last row’s id
(on the archived list, also when that tool was archived) and no workspace id; the
signature is what ties it to its list. A cursor belongs to
the one list it was cut for, so a cursor from the archived list sent to the
default list or to status=failed — or one with another status, name or
limit, or one that was edited — is refused with
422 WORKFLOW_TOOL_CURSOR_INVALID rather than answered from wherever it points.
Cursors handed out before 2 October 2026 are refused the same way: read the
first page again.
The default mixed list and the agent_id filter are temporary migration
boundaries. agent_id filters legacy attachments only, so a workflow agent
with tools bound and published answers {"data":[]} — an empty list there is
not a broken read and not an agent without tools. To see a workflow agent’s
tools, read GET /agents/{id}/workflow and look
at draft.document.bindings; each tool_revision_id is a revision id from
GET /tools/workflow-catalog.
Two rows may carry the same name. Tool names are not unique in a workspace and
never have been — see Create tool for what a
create answers when the name is already taken. Match a tool by id, never by
name, and to go the other way — from a tool to the agents using it — read
GET /tools/{id}/bindings.
Query parameters
The mixed list takesname, agent_id, limit and offset; limit is
1–100, and a larger value is clamped to 100, which pagination.limit reports. With
workflow=true the list takes limit, cursor and status instead, and a
name there is refused unless status is archived (see above). Each parameter is sent once. Anything
else — search, q, or a parameter that belongs to the other list — is
refused with 400 TOOLS_QUERY_INVALID, naming it, rather than answered with
every tool.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | TOOLS_QUERY_INVALID | A parameter this list does not read, one sent twice or with no value, a workflow that is not true or false, or a limit / offset that is not a whole number. |
| 403 | INSUFFICIENT_SCOPE | The key does not hold tools:read. |
| 422 | WORKFLOW_TOOL_REQUEST_INVALID | workflow=true only: status was not failed, archived or all, or limit was outside 1–50. |
| 422 | WORKFLOW_TOOL_CURSOR_INVALID | workflow=true only: cursor was not issued by this list — another status, name or limit, or it was edited. Read the first page again and follow next_cursor. |
Authorizations
Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).
Headers
Query Parameters
archived lists only the tools archived with DELETE /tools/{id}, each in its short form with archived_at, to find one to restore with POST /tools/{id}/restore - on workflow=true by cursor, most recently archived first, narrowed by name if sent, on the mixed list by limit/offset, where it is the only value (failed or all there, or status with agent_id, is 400 TOOLS_QUERY_INVALID). The rest is for workflow=true. Omitted, the page leaves out tools whose creation failed - workflow.status failed with workflow.current null; failed returns only those; all returns everything that is not archived. A tool whose later edit failed keeps its promoted head and stays on the default list. Any other value is refused with 422 WORKFLOW_TOOL_REQUEST_INVALID. With failed, the failed creations are read directly, so a page holds up to limit of them. Omitted or all, filtering happens after the page is read, so a page can be shorter than limit while next_cursor still says there is more.
failed, archived, all For the default list and agent_id. Only tools whose name contains this text, case-insensitively, anywhere in the name — newest first, with pagination.total counting the matches. Every character matches itself: %, _ and * are not wildcards. Leading and trailing spaces are ignored. On workflow=true it narrows only status=archived; the rest of that catalog has no name filter, so name with workflow=true and any other status is refused with 400 TOOLS_QUERY_INVALID rather than ignored.
1 - 200