Searchedly developer docs

Searchedly Public API

Manage Searchedly from your own code or an authorized AI agent: read visibility, prompts, competitors, audits, Agent Readiness, hosted MCP servers, agent activity and analytics; start audits and assessments; create tasks; and receive webhooks. Authenticate with an API key from Settings → API keys: Authorization: Bearer sapi_…. A key belongs to one organization, acts for the person who created it, and can only do what both its scopes and that person's current role allow. POST requests accept an Idempotency-Key header; a retry with the same key and body returns the first response (marked Idempotent-Replayed: true) for 24 hours. Errors use RFC 9457 problem details (application/problem+json) with type, title, status and detail. Searchedly measures AI answers; it can't guarantee AI rankings, citations, indexing or recommendations.

API version
1.0.0
Base URL
https://api.searchedly.com
Operations
36

OpenAPI file

Getting started

  1. Create a key in Settings → API keys. The Public API is included on the Business and Enterprise plans.
  2. Choose only the scopes the integration needs. A key never does more than your role allows.
  3. Send it as Authorization: Bearer. Add an Idempotency-Key header to POST requests so retries are safe.
https://mcp.searchedly.com/mcp/manage

The same operations as MCP tools, for assistants that let you set a header, such as Cursor, VS Code and Claude Code. It lists only the tools your key's scopes allow, and assistants should ask you before any tool that changes data.

Authentication

Bearer token

A Searchedly API key (sapi_…). Scopes: organization:read, visibility:read, prompts:read, prompts:write, competitors:read, audits:read, audits:write, readiness:read, readiness:write, tasks:read, tasks:write, mcp:read, mcp:write, activity:read, analytics:read, webhooks:read, webhooks:write, registrations:read, registrations:write, checkouts:read, checkouts:write, provisioning:read, provisioning:write, reports:read.

  • Send "Authorization: Bearer <token>".

The examples read credentials from environment variables. Never paste a real key into shared code.

Organization

List organizations

GET/api/v1/organizations

The organizations the caller can use. An API key belongs to exactly one organization, so it lists that one. Scope: organization:read (Read the organization's name, plan and domain.)

Authentication: Bearer token. Reads data.

Responses

  • 200Success.
    Fields
    • organizationsarray of objectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • namestringrequired
    • slugstringrequired
    • rolestringrequired
    • planstringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `organization:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/organizations' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/organizations";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/organizations",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "organizations": [
    {
      "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "name": "Example",
      "slug": "string",
      "role": "string",
      "plan": "string"
    }
  ]
}

Get an organization

GET/api/v1/orgs/{orgId}

The organization's name, plan and domain, and the caller's role in it. Scope: organization:read (Read the organization's name, plan and domain.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

Responses

  • 200Success.
    Fields
    • organizationobjectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • namestringrequired
    • slugstringrequired
    • planstringrequired
    • primaryDomainstring, nullablerequired
    • rolestringrequired
    • permissionsarray of stringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `organization:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "organization": {
    "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "name": "Example",
    "slug": "string",
    "plan": "string",
    "primaryDomain": "string"
  },
  "role": "string",
  "permissions": [
    "string"
  ]
}

Visibility

Get AI visibility

GET/api/v1/orgs/{orgId}/visibility

Mention, recommendation, citation and share-of-voice rates over a date range, measured from tracked prompts. Scores describe observed answers; they aren't a guarantee of future rankings or citations. Scope: visibility:read (Read AI visibility scores and the answers behind them.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • daysquery, integer

    The last N days, ending today (UTC). Default 30.

  • fromquery, string

    First day, YYYY-MM-DD (UTC).

  • toquery, string

    Last day, YYYY-MM-DD (UTC).

  • providerquery, string

    Only answers from this AI provider.

    One of: dataforseo_chatgpt, dataforseo_claude, dataforseo_gemini, dataforseo_perplexity, dataforseo_google_ai_mode, openai_web_search, perplexity_agent

  • intentquery, string

    Only prompts with this intent.

Responses

  • 200Success.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `visibility:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/visibility' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/visibility";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/visibility",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{}

List the answers behind a score

GET/api/v1/orgs/{orgId}/visibility/answers

The AI answers counted in a visibility number, 25 per page. Scope: visibility:read (Read AI visibility scores and the answers behind them.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • daysquery, integer

    The last N days, ending today (UTC). Default 30.

  • fromquery, string

    First day, YYYY-MM-DD (UTC).

  • toquery, string

    Last day, YYYY-MM-DD (UTC).

  • providerquery, string

    Only answers from this AI provider.

    One of: dataforseo_chatgpt, dataforseo_claude, dataforseo_gemini, dataforseo_perplexity, dataforseo_google_ai_mode, openai_web_search, perplexity_agent

  • intentquery, string

    Only prompts with this intent.

  • metricquery, string

    Which number to explain. Default discovery.

    One of: discovery, recommendation, citation, share_of_voice, sentiment, domain

  • entityquery, string

    "brand" (default) or a competitor name.

  • resultquery, string

    hit: answers that mention you; miss: answers that don't. Default all.

    One of: all, hit, miss

  • pagequery, integer

    Page number, from 1.

Responses

  • 200Success.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `visibility:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/visibility/answers' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/visibility/answers";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/visibility/answers",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{}

Prompts

List prompts

GET/api/v1/orgs/{orgId}/prompts

Every prompt in the library, with whether it's tracked, and the plan's tracked-prompt limit. Scope: prompts:read (Read the prompts you track.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

Responses

  • 200Success.
    Fields
    • promptsarray of objectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • textstringrequired
    • countsobjectrequired

      Other keys allowed (any).

  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `prompts:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/prompts' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/prompts";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/prompts",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "prompts": [
    {
      "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "text": "string"
    }
  ],
  "counts": {}
}

Add a prompt

POST/api/v1/orgs/{orgId}/prompts

Adds a prompt a buyer might ask an AI assistant. Near-duplicates are refused unless force is true. Scope: prompts:write (Add prompts to the library.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

  • textstringrequired

    The question, as a buyer would ask it.

    1 to 300 characters

  • intentstringrequired

    One of: category_discovery, best_of, comparison, alternatives, problem_solution, features, integrations, agent_capabilities, purchase_intent

  • topicany of
  • Option 1string

    up to 80 characters

  • Option 2null
  • prioritystring

    One of: high, medium, low

  • trackboolean

    Include it in visibility checks. Default true while under the limit.

  • forceboolean

    Add it even if a similar prompt exists.

Responses

  • 201Success.
    Fields
    • promptobjectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • textstringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `prompts:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/prompts' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{
  "text": "string",
  "intent": "category_discovery",
  "topic": "string",
  "priority": "high",
  "track": true,
  "force": true
}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/prompts";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "text": "string",
    "intent": "category_discovery",
    "topic": "string",
    "priority": "high",
    "track": true,
    "force": true
  }),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/prompts",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={
        "text": "string",
        "intent": "category_discovery",
        "topic": "string",
        "priority": "high",
        "track": True,
        "force": True,
    },
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (201)

{
  "prompt": {
    "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "text": "string"
  }
}

Competitors

Get the competitor report

GET/api/v1/orgs/{orgId}/competitors

Products AI assistants mention alongside yours, with share of voice over a date range. Scope: competitors:read (Read the competitor report.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • daysquery, integer

    The last N days, ending today (UTC). Default 30.

  • fromquery, string

    First day, YYYY-MM-DD (UTC).

  • toquery, string

    Last day, YYYY-MM-DD (UTC).

  • providerquery, string

    Only answers from this AI provider.

    One of: dataforseo_chatgpt, dataforseo_claude, dataforseo_gemini, dataforseo_perplexity, dataforseo_google_ai_mode, openai_web_search, perplexity_agent

  • intentquery, string

    Only prompts with this intent.

Responses

  • 200Success.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `competitors:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/competitors' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/competitors";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/competitors",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{}

Audits

List technical audits

GET/api/v1/orgs/{orgId}/technical-audits

Recent technical audits of your website, newest first. Scope: audits:read (Read technical audits and their findings.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • limitquery, integer

    Most recent N audits. Default 10.

Responses

  • 200Success.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `audits:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/technical-audits' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/technical-audits";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/technical-audits",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{}

Start a technical audit

POST/api/v1/orgs/{orgId}/technical-audits

Queues an audit of the organization's verified website. Only public pages are read, at a polite rate. Returns 202 while it runs; the audit.completed webhook fires when it finishes. Scope: audits:write (Start a technical audit of your website.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

object

Responses

  • 202Accepted; the work runs in the background.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `audits:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/technical-audits' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/technical-audits";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/technical-audits",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (202)

{}

Get a technical audit

GET/api/v1/orgs/{orgId}/technical-audits/{auditId}

One audit with its findings and how to fix each one. Scope: audits:read (Read technical audits and their findings.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • auditIdpath, string, uuidrequired

    Audit ID, from listAudits.

Responses

  • 200Success.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `audits:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/technical-audits/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/technical-audits/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/technical-audits/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{}

Agent readiness

Get Agent Readiness

GET/api/v1/orgs/{orgId}/agent-readiness

The latest Agent Readiness assessment, any running one, and history. Not a certification. Scope: readiness:read (Read Agent Readiness assessments.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

Responses

  • 200Success.
    Fields
    • latestanyrequired
    • openanyrequired
    • historyarray of anyrequired
    • methodVersionstringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `readiness:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-readiness' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-readiness";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-readiness",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "latest": "value",
  "open": "value",
  "history": [
    "value"
  ],
  "methodVersion": "string"
}

Get an assessment

GET/api/v1/orgs/{orgId}/agent-readiness/{id}

One Agent Readiness assessment with its checks. Scope: readiness:read (Read Agent Readiness assessments.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • idpath, string, uuidrequired

    Assessment ID, from getAgentReadiness.

Responses

  • 200Success.
    Fields
    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `readiness:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-readiness/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-readiness/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-readiness/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
  "status": "string"
}

Start an assessment

POST/api/v1/orgs/{orgId}/agent-readiness/runs

Queues an Agent Readiness assessment of the organization's domain. One runs at a time. Scope: readiness:write (Start an Agent Readiness assessment.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

object

Responses

  • 202Accepted; the work runs in the background.
    Fields
    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `readiness:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-readiness/runs' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-readiness/runs";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-readiness/runs",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (202)

{
  "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
  "status": "string"
}

Optimization tasks

List optimization tasks

GET/api/v1/orgs/{orgId}/tasks

Tasks in one view (to do by default), with counts for every view. Scope: tasks:read (Read optimization tasks.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • viewquery, string

    Which tasks to list, e.g. open or done.

    One of: todo, approval, verifying, done, dismissed

  • sourcequery, string

    Only tasks from this source.

    One of: analyst, manual, audit

Responses

  • 200Success.
    Fields
    • modestringrequired
    • viewstringrequired
    • countsobjectrequired

      Other keys allowed (any).

    • tasksarray of objectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      Assessment ID, from getAgentReadiness.

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `tasks:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/tasks' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/tasks";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/tasks",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "mode": "string",
  "view": "string",
  "counts": {},
  "tasks": [
    {
      "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b"
    }
  ]
}

Create a task

POST/api/v1/orgs/{orgId}/tasks

Adds a manual optimization task. Nothing is changed on your website. Scope: tasks:write (Create optimization tasks.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

  • titlestringrequired

    1 to 200 characters

  • descriptionstring

    up to 4000 characters

  • stepsarray of string

    up to 20 items

  • prioritystring

    One of: high, medium, low

Responses

  • 201Success.
    Fields
    • taskobjectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • titlestringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `tasks:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/tasks' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{
  "title": "string",
  "description": "string",
  "steps": [
    "string"
  ],
  "priority": "high"
}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/tasks";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "title": "string",
    "description": "string",
    "steps": [
      "string"
    ],
    "priority": "high"
  }),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/tasks",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={
        "title": "string",
        "description": "string",
        "steps": [
            "string",
        ],
        "priority": "high",
    },
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (201)

{
  "task": {
    "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "title": "string"
  }
}

Get a task

GET/api/v1/orgs/{orgId}/tasks/{taskId}

One task with its steps and history. Scope: tasks:read (Read optimization tasks.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • taskIdpath, string, uuidrequired

    Task ID, from listOptimizationTasks.

Responses

  • 200Success.
    Fields
    • modestringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `tasks:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/tasks/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/tasks/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/tasks/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "mode": "string"
}

MCP servers

List hosted MCP servers

GET/api/v1/orgs/{orgId}/mcp-servers

Every tool configuration and whether it's hosted, with status, revision and address. Scope: mcp:read (Read hosted MCP servers, their status and analytics.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

Responses

  • 200Success.
    Fields
    • serversarray of objectrequired

      Other keys allowed (any).

    • toolsetIdstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • toolsetNamestringrequired
    • serverIdany ofrequired
    • Option 1string, uuid

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • Option 2null
    • statusstringrequired
    • urlstring, nullablerequired
    • revisionany ofrequired
    • Option 1integer

      at least -9007199254740991. at most 9007199254740991

    • Option 2null
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `mcp:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/mcp-servers' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/mcp-servers";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/mcp-servers",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "servers": [
    {
      "toolsetId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "toolsetName": "Example",
      "serverId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "status": "string",
      "url": "string",
      "revision": -9007199254740991
    }
  ]
}

Get a hosted MCP server

GET/api/v1/orgs/{orgId}/toolsets/{toolsetId}/server

Status, revisions, deployments, health and sign-in settings for one configuration's server. Scope: mcp:read (Read hosted MCP servers, their status and analytics.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • toolsetIdpath, string, uuidrequired

    Toolset ID of the server, from listMcpServers.

Responses

  • 200Success.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `mcp:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{}

Turn on hosting

POST/api/v1/orgs/{orgId}/toolsets/{toolsetId}/server

Creates the hosted MCP server for an approved tool configuration. It serves nothing until a person-approved revision is deployed. Scope: mcp:write (Turn on hosting and deploy revisions a person has already approved.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • toolsetIdpath, string, uuidrequired

    Toolset ID of the server, from listMcpServers.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

  • slugstringrequired

    Lowercase address segment, e.g. billing.

    1 to 48 characters

Responses

  • 201Success.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `mcp:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{
  "slug": "string"
}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "slug": "string"
  }),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={
        "slug": "string",
    },
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (201)

{}

Deploy an approved revision

POST/api/v1/orgs/{orgId}/toolsets/{toolsetId}/server/deploy

Serves a revision a person already approved in Searchedly (or rolls back to one). Keys can't approve revisions. Fires mcp_server.deployed, or mcp_server.deploy_failed if it can't be applied. Scope: mcp:write (Turn on hosting and deploy revisions a person has already approved.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • toolsetIdpath, string, uuidrequired

    Toolset ID of the server, from listMcpServers.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

  • approvalIdstring, uuidrequired

    An approval ID from GET …/server.

    pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

Responses

  • 200Success.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `mcp:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server/deploy' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{
  "approvalId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b"
}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server/deploy";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "approvalId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b"
  }),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server/deploy",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={
        "approvalId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    },
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{}

Get server analytics

GET/api/v1/orgs/{orgId}/toolsets/{toolsetId}/server/analytics

Calls, failures and latency over the last 24 hours, 7 days or 30 days. Scope: mcp:read (Read hosted MCP servers, their status and analytics.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • toolsetIdpath, string, uuidrequired

    Toolset ID of the server, from listMcpServers.

  • rangequery, string

    Time window. Default 24h.

    One of: 24h, 7d, 30d

Responses

  • 200Success.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `mcp:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server/analytics' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server/analytics";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/toolsets/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/server/analytics",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{}

Agent activity

List agent activity

GET/api/v1/orgs/{orgId}/agent-activity

Tool calls AI agents made to your hosted MCP servers, newest first. Arguments and results aren't stored, so they aren't returned. Scope: activity:read (Read calls AI agents made to your hosted MCP servers.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • limitquery, integer

    Default 50.

  • beforequery, string

    Only calls before this time (use the previous page's nextBefore).

  • serverIdquery, string, uuid

    Only calls to this hosted server, from list_mcp_servers.

Responses

  • 200Success.
    Fields
    • callsarray of objectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • serverIdstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • serverSlugstring, nullablerequired
    • toolstringrequired
    • outcomestringrequired
    • signedInWithstringrequired
    • clientstring, nullablerequired
    • latencyMsintegerrequired

      at least -9007199254740991. at most 9007199254740991

    • atstringrequired

      ISO 8601 timestamp

    • nextBeforeany ofrequired
    • Option 1string

      ISO 8601 timestamp

    • Option 2null
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `activity:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-activity' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-activity";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-activity",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "calls": [
    {
      "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "serverId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "serverSlug": "string",
      "tool": "string",
      "outcome": "string",
      "signedInWith": "string",
      "client": "string",
      "latencyMs": -9007199254740991,
      "at": "string"
    }
  ],
  "nextBefore": "string"
}

Analytics

Get the analytics summary

GET/api/v1/orgs/{orgId}/analytics

One summary across products: the latest visibility and readiness scores, hosted MCP calls, directory appearances and plan usage. Scope: analytics:read (Read the summary of visibility, readiness and agent usage.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • daysquery, integer

    Default 30.

Responses

  • 200Success.
    Fields
    • daysintegerrequired

      at least -9007199254740991. at most 9007199254740991

    • visibilityobjectrequired

      Other keys allowed (any).

    • readinessobjectrequired

      Other keys allowed (any).

    • scorenumber, nullablerequired
    • assessedAtany ofrequired
    • Option 1string

      ISO 8601 timestamp

    • Option 2null
    • mcpobjectrequired

      Other keys allowed (any).

    • serversintegerrequired

      at least -9007199254740991. at most 9007199254740991

    • callsintegerrequired

      at least -9007199254740991. at most 9007199254740991

    • failuresintegerrequired

      at least -9007199254740991. at most 9007199254740991

    • directoryobjectrequired

      Other keys allowed (any).

    • appearancesintegerrequired

      at least -9007199254740991. at most 9007199254740991

    • lookupsintegerrequired

      at least -9007199254740991. at most 9007199254740991

    • usagearray of objectrequired

      Other keys allowed (any).

    • meterstringrequired
    • usednumberrequired
    • limitnumber, nullablerequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `analytics:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/analytics' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/analytics";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/analytics",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "days": -9007199254740991,
  "visibility": {},
  "readiness": {
    "score": 1.5,
    "assessedAt": "string"
  },
  "mcp": {
    "servers": -9007199254740991,
    "calls": -9007199254740991,
    "failures": -9007199254740991
  },
  "directory": {
    "appearances": -9007199254740991,
    "lookups": -9007199254740991
  },
  "usage": [
    {
      "meter": "string",
      "used": 1.5,
      "limit": 1.5
    }
  ]
}

Webhooks

List webhook event types

GET/api/v1/orgs/{orgId}/webhook-events

Every event you can subscribe to, with a description. Scope: webhooks:read (Read webhook endpoints and event types.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

Responses

  • 200Success.
    Fields
    • eventsarray of objectrequired

      Other keys allowed (any).

    • typestringrequired
    • labelstringrequired
    • descriptionstringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `webhooks:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-events' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-events";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-events",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "events": [
    {
      "type": "string",
      "label": "string",
      "description": "string"
    }
  ]
}

List webhook endpoints

GET/api/v1/orgs/{orgId}/webhook-endpoints

Your endpoints, their events and delivery health. Signing secrets are never returned here. Scope: webhooks:read (Read webhook endpoints and event types.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

Responses

  • 200Success.
    Fields
    • endpointsarray of objectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • urlstringrequired
    • eventsarray of stringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `webhooks:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-endpoints' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-endpoints";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-endpoints",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "endpoints": [
    {
      "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "url": "string",
      "events": [
        "string"
      ]
    }
  ]
}

Add a webhook endpoint

POST/api/v1/orgs/{orgId}/webhook-endpoints

Adds an HTTPS endpoint. The response holds the signing secret once; store it and verify every delivery's signature (Standard Webhooks) and timestamp. Scope: webhooks:write (Add webhook endpoints and send test events.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

  • urlstringrequired

    https:// address that accepts POST.

    1 to 2000 characters

  • descriptionstring

    up to 200 characters

  • eventsarray of stringrequired

    One of: visibility.changed, competitor.discovered, citation.gained, tracking_run.completed, tracking_run.skipped, audit.completed, optimization_task.completed, mcp_server.health_changed, mcp_server.rollout_stopped, mcp_server.deployed, mcp_server.deploy_failed, agent.registered, agent_registration.approved, agent_checkout.completed, agent_credential.claimed, agent_credential.revoke_requested, subscription.purchased, usage.threshold_reached

    at least 1 items

Responses

  • 201Success.
    Fields
    • endpointobjectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • urlstringrequired
    • secretstringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `webhooks:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-endpoints' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "string",
  "description": "string",
  "events": [
    "visibility.changed"
  ]
}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-endpoints";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "string",
    "description": "string",
    "events": [
      "visibility.changed"
    ]
  }),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-endpoints",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={
        "url": "string",
        "description": "string",
        "events": [
            "visibility.changed",
        ],
    },
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (201)

{
  "endpoint": {
    "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "url": "string"
  },
  "secret": "YOUR_VALUE"
}

Send a test event

POST/api/v1/orgs/{orgId}/webhook-endpoints/{endpointId}/test

Queues a webhook.test event to one endpoint. Scope: webhooks:write (Add webhook endpoints and send test events.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • endpointIdpath, string, uuidrequired

    Endpoint ID, from listWebhookEndpoints.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

object

Responses

  • 202Accepted; the work runs in the background.
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `webhooks:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-endpoints/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/test' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-endpoints/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/test";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/webhook-endpoints/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/test",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (202)

{}

Agent sign-ups

List agent sign-ups

GET/api/v1/orgs/{orgId}/storefront/registrations

Sign-up requests agents made for your free business plans, newest first. Contact details appear only after a person approved sharing them. Scope: registrations:read (Read agent sign-ups people approved for your free plans, including the approver's contact details.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • limitquery, integer
  • beforequery, string

    Only sign-ups created before this time.

  • statusquery, string

    One of: pending_approval, approved, provisioned, failed, denied, expired, canceled

Responses

  • 200Success.
    Fields
    • registrationsarray of objectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired

      One of: pending_approval, approved, provisioned, failed, denied, expired, canceled

    • planobjectrequired

      Other keys allowed (any).

    • idstringrequired
    • namestringrequired
    • accountNamestringrequired
    • createdAtstringrequired

      ISO 8601 timestamp

  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `registrations:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/storefront/registrations' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/storefront/registrations";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/storefront/registrations",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "registrations": [
    {
      "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "status": "pending_approval",
      "plan": {
        "id": "abc123",
        "name": "Example"
      },
      "accountName": "Example",
      "createdAt": "string"
    }
  ]
}

Confirm an approved sign-up

POST/api/v1/orgs/{orgId}/agent-registrations/{id}/complete

Tell Searchedly whether you created the account for an approved sign-up. Answer once, within the confirm_by time in the agent_registration.approved webhook. Repeating the same answer is safe. Scope: registrations:write (Tell Searchedly whether you created the account for an approved agent sign-up.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • idpath, string, uuidrequired

    Registration ID, from the agent_registration.approved webhook.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

  • outcomestringrequired

    One of: provisioned, failed

  • accountUrlany of

    Where the person signs in. https on your verified domain.

  • Option 1string

    up to 2048 characters

  • Option 2null
  • referenceany of
  • Option 1string

    up to 200 characters

  • Option 2null
  • messageany of

    Shown to the person when the outcome is failed.

  • Option 1string

    up to 300 characters

  • Option 2null
  • entitlementsobject

    What you set up, as you'd describe it to the customer. Shown as reported by you.

  • planany of
  • Option 1string

    up to 120 characters

  • Option 2null
  • seatsany of
  • Option 1integer

    at least 1. at most 100000

  • Option 2null
  • limitsarray of object

    up to 20 items

  • labelstringrequired

    up to 80 characters

  • valueany ofrequired
  • Option 1string

    up to 120 characters

  • Option 2number
  • featuresarray of string

    up to 30 items

  • credentialobject

    Optional. Needs the agent_credential_handoff launch switch and an endpoint subscribed to agent_credential.revoke_requested.

  • typestringrequired

    One of: api_key, bearer_token

  • valuestringrequired

    The key or token. Sealed for the buyer's workspace; never shown to you again or in any list.

    16 to 4096 characters

  • headerstring

    Header the agent sends it in. Defaults to Authorization.

    up to 64 characters

  • scopesarray of anyrequired

    Specific permissions. Full-access scopes such as * or admin are refused.

    1 to 20 items

  • Option 1string

    up to 100 characters

  • Option 2object
  • namestringrequired

    up to 100 characters

  • descriptionany of
  • Option 1string

    up to 200 characters

  • Option 2null
  • expiresAtstringrequired

    When it stops working: between 24 hours and 90 days from now.

  • docsUrlany of

    API docs, https on your verified domain.

  • Option 1string

    up to 2048 characters

  • Option 2null

Responses

  • 200Success.
    Fields
    • registrationobjectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired

      One of: pending_approval, approved, provisioned, failed, denied, expired, canceled

    • provisioningany ofrequired
    • Option 1object

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • sourcestringrequired

      One of: registration, checkout

    • sessionIdstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired

      One of: awaiting_merchant, provisioned, failed

    • confirmBystringrequired

      ISO 8601 timestamp

    • credentialany ofrequired
    • Option 1object

      Other keys allowed (any).

    • statusstringrequired

      One of: none, awaiting_release, released, claimed, declined, expired, revoked

    • hintstringrequired
    • expiresAtstringrequired

      ISO 8601 timestamp

    • Option 2null
    • Option 2null
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `registrations:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-registrations/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/complete' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{
  "outcome": "provisioned",
  "accountUrl": "string",
  "reference": "string",
  "message": "string",
  "entitlements": {
    "plan": "string",
    "seats": 1,
    "limits": [
      {
        "label": "string",
        "value": "string"
      }
    ],
    "features": [
      "string"
    ]
  },
  "credential": {
    "type": "api_key",
    "value": "string",
    "header": "string",
    "scopes": [
      "string"
    ],
    "expiresAt": "string",
    "docsUrl": "string"
  }
}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-registrations/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/complete";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "outcome": "provisioned",
    "accountUrl": "string",
    "reference": "string",
    "message": "string",
    "entitlements": {
      "plan": "string",
      "seats": 1,
      "limits": [
        {
          "label": "string",
          "value": "string"
        }
      ],
      "features": [
        "string"
      ]
    },
    "credential": {
      "type": "api_key",
      "value": "string",
      "header": "string",
      "scopes": [
        "string"
      ],
      "expiresAt": "string",
      "docsUrl": "string"
    }
  }),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-registrations/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/complete",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={
        "outcome": "provisioned",
        "accountUrl": "string",
        "reference": "string",
        "message": "string",
        "entitlements": {
            "plan": "string",
            "seats": 1,
            "limits": [
                {
                    "label": "string",
                    "value": "string",
                },
            ],
            "features": [
                "string",
            ],
        },
        "credential": {
            "type": "api_key",
            "value": "string",
            "header": "string",
            "scopes": [
                "string",
            ],
            "expiresAt": "string",
            "docsUrl": "string",
        },
    },
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "registration": {
    "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "status": "pending_approval"
  },
  "provisioning": {
    "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "source": "registration",
    "sessionId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "status": "awaiting_merchant",
    "confirmBy": "string",
    "credential": {
      "status": "none",
      "hint": "string",
      "expiresAt": "string"
    }
  }
}

Agent checkouts

List agent checkouts

GET/api/v1/orgs/{orgId}/storefront/checkouts

Purchases agents asked for on your plans, newest first. A person approved each one and paid on Stripe's page on your own Stripe account. Contact details appear only after approval. Scope: checkouts:read (Read paid agent checkouts for your plans, including the buyer's contact details and Stripe IDs.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • limitquery, integer
  • beforequery, string

    Only checkouts created before this time.

  • statusquery, string

    One of: pending_approval, approved, awaiting_payment, paid, failed, denied, expired, canceled

Responses

  • 200Success.
    Fields
    • checkoutsarray of objectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired

      One of: pending_approval, approved, awaiting_payment, paid, failed, denied, expired, canceled

    • modestringrequired

      One of: test, live

    • planobjectrequired

      Other keys allowed (any).

    • idstringrequired
    • namestringrequired
    • quantityintegerrequired

      at least -9007199254740991. at most 9007199254740991

    • amountobjectrequired

      Other keys allowed (any).

    • currencystringrequired
    • totalintegerrequired

      at least -9007199254740991. at most 9007199254740991

    • displaystringrequired
    • createdAtstringrequired

      ISO 8601 timestamp

  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `checkouts:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/storefront/checkouts' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/storefront/checkouts";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/storefront/checkouts",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "checkouts": [
    {
      "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "status": "pending_approval",
      "mode": "test",
      "plan": {
        "id": "abc123",
        "name": "Example",
        "quantity": -9007199254740991
      },
      "amount": {
        "currency": "string",
        "total": -9007199254740991,
        "display": "string"
      },
      "createdAt": "string"
    }
  ]
}

Confirm the account for a paid checkout

POST/api/v1/orgs/{orgId}/agent-checkouts/{id}/complete

Tell Searchedly whether you set up the account after a paid agent checkout, within the confirm_by time in the agent_checkout.completed webhook. You may report what you set up and offer a scoped credential for the agent; a person in the buyer's workspace must release it before the agent can collect it. Repeating the same answer is safe. Scope: checkouts:write (Tell Searchedly whether you set up the account for a paid agent checkout.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • idpath, string, uuidrequired

    Checkout ID, from the agent_checkout.completed webhook.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

  • outcomestringrequired

    One of: provisioned, failed

  • accountUrlany of

    Where the person signs in. https on your verified domain.

  • Option 1string

    up to 2048 characters

  • Option 2null
  • referenceany of
  • Option 1string

    up to 200 characters

  • Option 2null
  • messageany of

    Shown to the person when the outcome is failed.

  • Option 1string

    up to 500 characters

  • Option 2null
  • entitlementsobject

    What you set up, as you'd describe it to the customer. Shown as reported by you.

  • planany of
  • Option 1string

    up to 120 characters

  • Option 2null
  • seatsany of
  • Option 1integer

    at least 1. at most 100000

  • Option 2null
  • limitsarray of object

    up to 20 items

  • labelstringrequired

    up to 80 characters

  • valueany ofrequired
  • Option 1string

    up to 120 characters

  • Option 2number
  • featuresarray of string

    up to 30 items

  • credentialobject

    Optional. Needs the agent_credential_handoff launch switch and an endpoint subscribed to agent_credential.revoke_requested.

  • typestringrequired

    One of: api_key, bearer_token

  • valuestringrequired

    The key or token. Sealed for the buyer's workspace; never shown to you again or in any list.

    16 to 4096 characters

  • headerstring

    Header the agent sends it in. Defaults to Authorization.

    up to 64 characters

  • scopesarray of anyrequired

    Specific permissions. Full-access scopes such as * or admin are refused.

    1 to 20 items

  • Option 1string

    up to 100 characters

  • Option 2object
  • namestringrequired

    up to 100 characters

  • descriptionany of
  • Option 1string

    up to 200 characters

  • Option 2null
  • expiresAtstringrequired

    When it stops working: between 24 hours and 90 days from now.

  • docsUrlany of

    API docs, https on your verified domain.

  • Option 1string

    up to 2048 characters

  • Option 2null

Responses

  • 200Success.
    Fields
    • provisioningobjectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • sourcestringrequired

      One of: registration, checkout

    • sessionIdstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired

      One of: awaiting_merchant, provisioned, failed

    • confirmBystringrequired

      ISO 8601 timestamp

    • credentialany ofrequired
    • Option 1object

      Other keys allowed (any).

    • statusstringrequired

      One of: none, awaiting_release, released, claimed, declined, expired, revoked

    • hintstringrequired
    • expiresAtstringrequired

      ISO 8601 timestamp

    • Option 2null
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `checkouts:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-checkouts/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/complete' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{
  "outcome": "provisioned",
  "accountUrl": "string",
  "reference": "string",
  "message": "string",
  "entitlements": {
    "plan": "string",
    "seats": 1,
    "limits": [
      {
        "label": "string",
        "value": "string"
      }
    ],
    "features": [
      "string"
    ]
  },
  "credential": {
    "type": "api_key",
    "value": "string",
    "header": "string",
    "scopes": [
      "string"
    ],
    "expiresAt": "string",
    "docsUrl": "string"
  }
}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-checkouts/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/complete";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "outcome": "provisioned",
    "accountUrl": "string",
    "reference": "string",
    "message": "string",
    "entitlements": {
      "plan": "string",
      "seats": 1,
      "limits": [
        {
          "label": "string",
          "value": "string"
        }
      ],
      "features": [
        "string"
      ]
    },
    "credential": {
      "type": "api_key",
      "value": "string",
      "header": "string",
      "scopes": [
        "string"
      ],
      "expiresAt": "string",
      "docsUrl": "string"
    }
  }),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-checkouts/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/complete",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={
        "outcome": "provisioned",
        "accountUrl": "string",
        "reference": "string",
        "message": "string",
        "entitlements": {
            "plan": "string",
            "seats": 1,
            "limits": [
                {
                    "label": "string",
                    "value": "string",
                },
            ],
            "features": [
                "string",
            ],
        },
        "credential": {
            "type": "api_key",
            "value": "string",
            "header": "string",
            "scopes": [
                "string",
            ],
            "expiresAt": "string",
            "docsUrl": "string",
        },
    },
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "provisioning": {
    "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "source": "registration",
    "sessionId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "status": "awaiting_merchant",
    "confirmBy": "string",
    "credential": {
      "status": "none",
      "hint": "string",
      "expiresAt": "string"
    }
  }
}

Account setup

List account setups

GET/api/v1/orgs/{orgId}/agent-provisioning

Accounts you were asked to set up after approved agent sign-ups and paid agent checkouts, newest first, with the status of any credential you offered. Never includes credential values. Scope: provisioning:read (Read the setup record and shared history for accounts you set up after agent sign-ups and purchases.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • limitquery, integer
  • beforequery, string

    Only records created before this time.

  • statusquery, string

    One of: awaiting_merchant, provisioned, failed

Responses

  • 200Success.
    Fields
    • provisioningsarray of objectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • sourcestringrequired

      One of: registration, checkout

    • sessionIdstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired

      One of: awaiting_merchant, provisioned, failed

    • confirmBystringrequired

      ISO 8601 timestamp

    • credentialany ofrequired
    • Option 1object

      Other keys allowed (any).

    • statusstringrequired

      One of: none, awaiting_release, released, claimed, declined, expired, revoked

    • hintstringrequired
    • expiresAtstringrequired

      ISO 8601 timestamp

    • Option 2null
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `provisioning:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-provisioning' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-provisioning";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-provisioning",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "provisionings": [
    {
      "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "source": "registration",
      "sessionId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
      "status": "awaiting_merchant",
      "confirmBy": "string",
      "credential": {
        "status": "none",
        "hint": "string",
        "expiresAt": "string"
      }
    }
  ]
}

Get an account setup and its history

GET/api/v1/orgs/{orgId}/agent-provisioning/{id}

One account setup with the shared history both sides see: the agent's request, the person's approval, your answer and every credential step. Scope: provisioning:read (Read the setup record and shared history for accounts you set up after agent sign-ups and purchases.)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • idpath, string, uuidrequired

    Provisioning ID, from the webhook.

Responses

  • 200Success.
    Fields
    • provisioningobjectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • sourcestringrequired

      One of: registration, checkout

    • sessionIdstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired

      One of: awaiting_merchant, provisioned, failed

    • confirmBystringrequired

      ISO 8601 timestamp

    • credentialany ofrequired
    • Option 1object

      Other keys allowed (any).

    • statusstringrequired

      One of: none, awaiting_release, released, claimed, declined, expired, revoked

    • hintstringrequired
    • expiresAtstringrequired

      ISO 8601 timestamp

    • Option 2null
    • timelinearray of objectrequired

      Other keys allowed (any).

    • stagestringrequired

      One of: request, setup

    • typestringrequired
    • atstringrequired

      ISO 8601 timestamp

  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `provisioning:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-provisioning/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-provisioning/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-provisioning/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "provisioning": {
    "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "source": "registration",
    "sessionId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "status": "awaiting_merchant",
    "confirmBy": "string",
    "credential": {
      "status": "none",
      "hint": "string",
      "expiresAt": "string"
    },
    "timeline": [
      {
        "stage": "request",
        "type": "string",
        "at": "string"
      }
    ]
  }
}

Confirm a credential is switched off

POST/api/v1/orgs/{orgId}/agent-provisioning/{id}/credential-revoked

After an agent_credential.revoke_requested webhook, confirm you switched the credential off. Recorded in the shared history. Repeating it is safe. Scope: provisioning:write (Tell Searchedly you switched off a credential you offered to an agent.)

Authentication: Bearer token. Changes data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • idpath, string, uuidrequired

    Provisioning ID, from the webhook.

  • Idempotency-Keyheader, string

    1–255 printable characters. Retries with the same key and body replay the first response for 24 hours.

Request body

application/json

object

Responses

  • 200Success.
    Fields
    • provisioningobjectrequired

      Other keys allowed (any).

    • idstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • sourcestringrequired

      One of: registration, checkout

    • sessionIdstring, uuidrequired

      pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-0000…

    • statusstringrequired

      One of: awaiting_merchant, provisioned, failed

    • confirmBystringrequired

      ISO 8601 timestamp

    • credentialany ofrequired
    • Option 1object

      Other keys allowed (any).

    • statusstringrequired

      One of: none, awaiting_release, released, claimed, declined, expired, revoked

    • hintstringrequired
    • expiresAtstringrequired

      ISO 8601 timestamp

    • Option 2null
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `provisioning:write` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 409Conflicts with the current state (for example, one is already running).
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 422Can't be done as asked, or the Idempotency-Key was reused for a different request.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X POST 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-provisioning/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/credential-revoked' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}" \
  -H 'Content-Type: application/json' \
  -d '{}'
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-provisioning/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/credential-revoked";

const response = await fetch(url, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "POST",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/agent-provisioning/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/credential-revoked",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    json={},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "provisioning": {
    "id": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "source": "registration",
    "sessionId": "3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b",
    "status": "awaiting_merchant",
    "confirmBy": "string",
    "credential": {
      "status": "none",
      "hint": "string",
      "expiresAt": "string"
    }
  }
}

Reporting

List reporting datasets

GET/api/v1/orgs/{orgId}/datasets

Daily, aggregate datasets for BI tools and spreadsheets, with their columns and whether each value is measured, inferred or declared. No prompt text or answer content. Scope: reports:read (Read built reports and the BI datasets (aggregates only, no prompt or answer text).)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

Responses

  • 200Success.
    Fields
    • includedbooleanrequired
    • datasetsarray of objectrequired

      Other keys allowed (any).

    • keystringrequired

      One of: visibility_daily, competitors_daily, ai_referrals_daily, changes

    • labelstringrequired
    • columnsarray of objectrequired

      Other keys allowed (any).

    • namestringrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `reports:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/datasets' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/datasets";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/datasets",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "included": true,
  "datasets": [
    {
      "key": "visibility_daily",
      "label": "string",
      "columns": [
        {
          "name": "Example"
        }
      ]
    }
  ]
}

Get a reporting dataset

GET/api/v1/orgs/{orgId}/datasets/{dataset}

One dataset for a date range (default the last 30 complete days, at most 366 days and 50000 rows), as JSON or CSV. Traffic from AI assistants is inferred from referrers and undercounts; change outcomes compare 14 days before and after and don't prove cause. Scope: reports:read (Read built reports and the BI datasets (aggregates only, no prompt or answer text).)

Authentication: Bearer token. Reads data.

Parameters

  • orgIdpath, string, uuidrequired

    Organization ID, from GET /api/v1/organizations.

  • datasetpath, stringrequired

    Dataset key, from GET /datasets.

    One of: visibility_daily, competitors_daily, ai_referrals_daily, changes

  • fromquery, string, date

    First day (YYYY-MM-DD, UTC).

  • toquery, string, date

    Last day (YYYY-MM-DD, UTC). Default yesterday.

  • formatquery, string

    Default json.

    One of: json, csv

Responses

  • 200Success.
    Fields
    • datasetstringrequired

      One of: visibility_daily, competitors_daily, ai_referrals_daily, changes

    • fromstringrequired
    • tostringrequired
    • columnsarray of stringrequired
    • rowsarray of objectrequired
    • truncatedbooleanrequired
  • 400The request isn't valid.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 401Missing, invalid, expired or revoked API key.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 403The key lacks the `reports:read` scope, or its creator's role no longer allows this.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 404Not found, or not in this key's organization.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

  • 429Rate limited. Wait for the time in Retry-After.
    Fields
    • typestringrequired

      A URI that identifies the kind of problem.

    • titlestringrequired

      Short, human-readable summary.

    • statusintegerrequired

      The HTTP status code.

    • detailstring

      What went wrong in this request, and how to fix it.

    • instancestring

      The request path.

    • request_idstring

      Quote this when you contact support.

Example request

cURL
curl -X GET 'https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/datasets/visibility_daily' \
  -H "Authorization: Bearer ${ACCESS_TOKEN}"
JavaScript
const url = "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/datasets/visibility_daily";

const response = await fetch(url, {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
Python
import os

import requests

response = requests.request(
    "GET",
    "https://api.searchedly.com/api/v1/orgs/3f2b8a4e-5c1d-4e7f-9a6b-2d8c0e1f4a7b/datasets/visibility_daily",
    headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()

Example response (200)

{
  "dataset": "visibility_daily",
  "from": "string",
  "to": "string",
  "columns": [
    "string"
  ],
  "rows": [
    {
      "key": "string"
    }
  ],
  "truncated": true
}
Generated by Searchedly from Searchedly's OpenAPI description (version 1.0.0). Content is provided by Searchedly.