openapi.json

{ "openapi": "3.1.1", "info": { "title": "YouSpot HTTP API", "version": "1.0.0", "summary": "The public HTTP surface of a personal CRM, and the OAuth server in front of the private part.", "description": "YouSpot is a personal CRM. This document covers everything reachable over plain HTTP.\n\nWhat needs no credential: the agent index, the question endpoint, the documentation MCP server, the A2A endpoint, the public member directory and profiles, and every discovery document.\n\nWhat needs one: the product MCP server's `tools/call`, because every tool reads or writes one person's own contacts, companies, notes and files. Its `initialize`, `ping` and `tools/list` answer anonymously so a client can handshake before anyone signs in.\n\nThere is no client credentials grant and no API keys. A credential here is always one person delegating their own access, through OAuth 2.1 with PKCE S256 and dynamic client registration.\n\nEvery page on this site also answers as markdown: append `.md` to the path or send `Accept: text/markdown`. The index is at https://youspot.com/llms.txt.", "termsOfService": "https://youspot.com/terms", "contact": { "name": "YouSpot, Inc.", "email": "support@youspot.com", "url": "https://youspot.com/docs" } }, "externalDocs": { "description": "Developer documentation", "url": "https://youspot.com/docs" }, "servers": [
{
"url": "https://youspot.com",\ "description": "Production"
},
{
"url": "https://youspot.com/sandbox",\ "description": "Sandbox: the anonymous paths below, mounted under /sandbox. /mcp/v1 answers there as the demo-account server, so tools/call needs no credential and every tool that writes is refused; the other mounted paths answer exactly as in production. The OAuth, jobs and commerce endpoints are not mounted. Described at /sandbox."
}
], "tags": [
{
"name": "Discovery",
"description": "Documents that describe this service to an agent."
},
{
"name": "Ask",
"description": "Questions answered from the public pages."
},
{
"name": "MCP",
"description": "Model Context Protocol servers, JSON-RPC over streamable HTTP."
},
{
"name": "Directory",
"description": "Public member profiles."
},
{
"name": "OAuth",
"description": "The authorization server. See /auth.md for the walkthrough."
},
{
"name": "Jobs",
"description": "Work that outlives one request, and where to poll for it."
},
{
"name": "Commerce",
"description": "What an agent can transact here, and what it cannot."
}
], "paths": { "/v1": { "get": { "tags": [
"Discovery"
], "operationId": "getAgentIndex", "summary": "Every endpoint, and what each one costs in credentials", "description": "The place to start. One JSON document listing every endpoint on this domain, grouped by whether it needs a credential, so an agent can find the surface it needs without crawling. Read this before this OpenAPI document if all you want is the shape of the site.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The index.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentIndex" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } }, "/ask": { "get": { "tags": [
"Ask"
], "operationId": "ask", "summary": "Ask a question about YouSpot in plain words", "description": "Answered from this site only, by keyword retrieval over its public pages. Every result carries the URL and the passage it came from, so the answer is checkable. There is no model in this path.", "security": [], "parameters": [
{
"name": "query",
"in": "query",
"required": true,
"description": "The question. `q` is accepted as an alias.",
"schema": {
"type": "string"
},
"example": "how do I connect Claude to the MCP server"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "How many results. Clamped to 1 to 20.",
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 5
}
},
{
"name": "streaming",
"in": "query",
"required": false,
"description": "Set to `true`, or send `Accept: text/event-stream`, for server-sent events: `start`, then one `result` each, then `summary` and `complete`.",
"schema": {
"type": "boolean",
"default": false
}
}
], "responses": { "200": { "description": "The matching pages, best first.", "headers": { "RateLimit-Policy": { "description": "The policy in force: `\"policy\";q=;w=`.", "schema": { "type": "string" }, "example": "\"sandbox\";q=60;w=60" } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AskResponse" } }, "text/event-stream": { "schema": { "type": "string" }, "example": "event: start\ndata: {\"query_id\":\"...\",\"query\":\"pricing\"}\n\nevent: result\ndata: {\"url\":\"https://youspot.com/pricing\\"}\\n\\nevent: complete\ndata: {\"query_id\":\"...\"}\n\n" } } }, "400": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } }, "post": { "tags": [
"Ask"
], "operationId": "askPost", "summary": "The same question, in the NLWeb request shape", "description": "Identical to `GET /ask`, for callers that would rather send a body than a query string. Answers a question about YouSpot from its own public pages and returns the passages that say it, each with the URL it came from. No credential, and nothing here touches a member's data.", "security": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AskRequest" } } } }, "responses": { "200": { "description": "The matching pages, best first.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AskResponse" } } } }, "400": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/a2a": { "get": { "tags": [
"Ask"
], "operationId": "getAgentCardFromEndpoint", "summary": "The A2A agent card", "description": "The card served from the JSON-RPC endpoint itself, for a client that found `/a2a` before it found the well-known path. Byte-identical to `/.well-known/agent-card.json`.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The same card as the well-known path.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentCard" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } }, "post": { "tags": [
"Ask"
], "operationId": "a2a", "summary": "A2A JSON-RPC: message/send, tasks/get, tasks/cancel", "description": "`message/send` returns a completed task rather than a queued one, because the answer is a synchronous read of the public corpus.", "security": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } } } }, "responses": { "200": { "description": "A JSON-RPC envelope. Protocol errors ride on HTTP 200, per JSON-RPC.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcResponse" } } } } } } }, "/mcp/docs": { "get": { "tags": [
"MCP"
], "operationId": "getDocsServerCard", "summary": "The documentation MCP server card", "description": "What the documentation MCP server is and what it can do, without opening a JSON-RPC session: its endpoint, its transport, its tools and its resources. This server reads the public pages only, so nothing on it needs a credential.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The card: endpoint, transport, tools, resources.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/McpServerCard" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } }, "post": { "tags": [
"MCP"
], "operationId": "docsMcp", "summary": "Documentation MCP server, no credential at all", "description": "Everything it reads is a page anybody can already fetch, so it accepts no credential and needs none. Tools: `search_docs`, `read_doc`, `list_docs`.", "security": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } } } }, "responses": { "200": { "description": "A JSON-RPC envelope.", "headers": { "RateLimit": { "description": "Budget left in the current window, RFC 9331 form: `\"policy\";r=;t=`.", "schema": { "type": "string" }, "example": "\"sandbox\";r=57;t=41" }, "RateLimit-Policy": { "description": "The policy in force: `\"policy\";q=;w=`.", "schema": { "type": "string" }, "example": "\"sandbox\";q=60;w=60" }, "RateLimit-Remaining": { "description": "Requests left in the window. The dashed triple mirrors `RateLimit` for clients that parse it.", "schema": { "type": "integer" } }, "RateLimit-Reset": { "description": "Seconds until the window resets.", "schema": { "type": "integer" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcResponse" } } } }, "202": { "description": "A notification was accepted. No body." }, "429": { "description": "Too many requests from this address in the current window.", "headers": { "RateLimit": { "description": "Budget left in the current window, RFC 9331 form: `\"policy\";r=;t=`.", "schema": { "type": "string" }, "example": "\"sandbox\";r=57;t=41" }, "RateLimit-Policy": { "description": "The policy in force: `\"policy\";q=;w=`.", "schema": { "type": "string" }, "example": "\"sandbox\";q=60;w=60" }, "RateLimit-Remaining": { "description": "Requests left in the window. The dashed triple mirrors `RateLimit` for clients that parse it.", "schema": { "type": "integer" } }, "RateLimit-Reset": { "description": "Seconds until the window resets.", "schema": { "type": "integer" } }, "Retry-After": { "description": "Seconds to wait before retrying.", "schema": { "type": "integer" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcResponse" } } } } } } }, "/mcp/sandbox": { "get": { "tags": [
"MCP"
], "operationId": "getSandboxServerCard", "summary": "The sandbox MCP server card", "description": "The demo server, described the same way. It runs the read tools of the product server against a seeded account, so an agent can see what a real tool call returns before anyone signs up. No credential, and a per-address rate limit.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The card, including whether the sandbox is seeded.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/McpServerCard" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } }, "post": { "tags": [
"MCP"
], "operationId": "sandboxMcp", "summary": "The read tools, over a generated demo account", "description": "The same registry tools the product server exposes, minus every tool that writes, run against one account whose contacts and interactions are a generated fixture. No credential, no signup, no credits. Rate limited to 60 calls a minute per address, and `tools/call` answers 503 where the demo account has not been seeded.", "security": [], "parameters": [
{
"name": "Idempotency-Key",
"in": "header",
"required": false,
"description": "A unique string, usually a UUID, naming this attempt. Repeating a request under the same key returns the first answer instead of writing again, for 24 hours. The same key with a different body is a 422. The answer carries `Idempotency-Replayed`. A key is scoped to the credential that sent it, so it only ever replays your own answer and never has to be unguessable.",
"schema": {
"type": "string",
"maxLength": 255
},
"example": "3f1a2b6c-7d8e-4f90-a1b2-c3d4e5f60718"
}
], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } } } }, "responses": { "200": { "description": "A JSON-RPC envelope.", "headers": { "RateLimit": { "description": "Budget left in the current window, RFC 9331 form: `\"policy\";r=;t=`.", "schema": { "type": "string" }, "example": "\"sandbox\";r=57;t=41" }, "RateLimit-Policy": { "description": "The policy in force: `\"policy\";q=;w=`.", "schema": { "type": "string" }, "example": "\"sandbox\";q=60;w=60" }, "RateLimit-Remaining": { "description": "Requests left in the window. The dashed triple mirrors `RateLimit` for clients that parse it.", "schema": { "type": "integer" } }, "RateLimit-Reset": { "description": "Seconds until the window resets.", "schema": { "type": "integer" } }, "Idempotency-Replayed": { "description": "`true` when this body is a recorded answer to an earlier request under the same key.", "schema": { "type": "string", "enum": [
"true",
"false"
] } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcResponse" } } } }, "422": { "description": "This `Idempotency-Key` was already used on this operation with a different request body.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } }, "429": { "description": "Too many requests from this address in the current window.", "headers": { "RateLimit": { "description": "Budget left in the current window, RFC 9331 form: `\"policy\";r=;t=`.", "schema": { "type": "string" }, "example": "\"sandbox\";r=57;t=41" }, "RateLimit-Policy": { "description": "The policy in force: `\"policy\";q=;w=`.", "schema": { "type": "string" }, "example": "\"sandbox\";q=60;w=60" }, "RateLimit-Remaining": { "description": "Requests left in the window. The dashed triple mirrors `RateLimit` for clients that parse it.", "schema": { "type": "integer" } }, "RateLimit-Reset": { "description": "Seconds until the window resets.", "schema": { "type": "integer" } }, "Retry-After": { "description": "Seconds to wait before retrying.", "schema": { "type": "integer" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcResponse" } } } }, "503": { "description": "The sandbox account is not configured here.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcResponse" } } } } } } }, "/mcp/v1": { "get": { "tags": [
"MCP"
], "operationId": "getServerCard", "summary": "The product MCP server card", "description": "The same document as https://youspot.com/.well-known/mcp/server-card.json, built from the live tool table.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The card.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/McpServerCard" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } }, "post": { "tags": [
"MCP"
], "operationId": "mcp", "summary": "The product MCP server, over one person's own CRM", "description": "`initialize`, `ping` and `tools/list` answer without a credential: nothing in them is one person's data, and a 401 on the handshake reads as a dead server.\n\n`tools/call` needs a bearer token. Without one it answers 401 with `WWW-Authenticate: Bearer resource_metadata=\"...\"` naming the RFC 9728 document.\n\nJSON-RPC batching is refused, per MCP 2025-06-18. The tool schemas come from `tools/list`, not from this document.", "security": [
{},
{
"oauth2": [
"linkedin"
]
},
{
"bearerAuth": []
}
], "parameters": [
{
"name": "Idempotency-Key",
"in": "header",
"required": false,
"description": "A unique string, usually a UUID, naming this attempt. Repeating a request under the same key returns the first answer instead of writing again, for 24 hours. The same key with a different body is a 422. The answer carries `Idempotency-Replayed`. A key is scoped to the credential that sent it, so it only ever replays your own answer and never has to be unguessable.",
"schema": {
"type": "string",
"maxLength": 255
},
"example": "3f1a2b6c-7d8e-4f90-a1b2-c3d4e5f60718"
}
], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } } } }, "responses": { "200": { "description": "A JSON-RPC envelope.", "headers": { "Idempotency-Replayed": { "description": "`true` when this body is a recorded answer to an earlier request under the same key.", "schema": { "type": "string", "enum": [
"true",
"false"
] } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcResponse" } } } }, "202": { "description": "A JSON-RPC notification was accepted. This is an acknowledgement, not a job: there is nothing to poll for. Long-running work is enqueued by a tool and reported at `/api/jobs/{job_id}`." }, "401": { "description": "A tool call with no usable credential.", "headers": { "WWW-Authenticate": { "description": "Names the protected-resource metadata.", "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcResponse" } } } }, "422": { "description": "This `Idempotency-Key` was already used on this operation with a different request body.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/api/network/members": { "get": { "tags": [
"Directory"
], "operationId": "listMembers", "summary": "A page of the public member directory", "description": "Page with `cursor`: read a page, and if `has_more` is true send `next_cursor` back as `cursor` for the one after it. A cursor names the last row it read, so a member who signs up mid-walk cannot shift a row onto a page you already have.\n\n`page` still works for a numbered UI, but it can repeat or skip a row while the directory is being written to. Do not mix the two in one walk.", "security": [], "parameters": [
{
"name": "cursor",
"in": "query",
"required": false,
"description": "The `next_cursor` from the previous page. Opaque: pass it back unchanged.",
"schema": {
"type": "string"
}
},
{
"name": "per_page",
"in": "query",
"required": false,
"description": "Members per page. Clamped to 1 to 100.",
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 24
}
},
{
"name": "q",
"in": "query",
"required": false,
"description": "Filter over username, name and headline.",
"schema": {
"type": "string"
}
},
{
"name": "page",
"in": "query",
"required": false,
"description": "Offset paging, for a numbered UI. Ignored when `cursor` is sent.",
"schema": {
"type": "integer",
"minimum": 1,
"default": 1
}
}
], "responses": { "200": { "description": "One page of members.", "headers": { "RateLimit": { "description": "Budget left in the current window, RFC 9331 form: `\"policy\";r=;t=`.", "schema": { "type": "string" }, "example": "\"sandbox\";r=57;t=41" }, "RateLimit-Policy": { "description": "The policy in force: `\"policy\";q=;w=`.", "schema": { "type": "string" }, "example": "\"sandbox\";q=60;w=60" }, "RateLimit-Remaining": { "description": "Requests left in the window. The dashed triple mirrors `RateLimit` for clients that parse it.", "schema": { "type": "integer" } }, "RateLimit-Reset": { "description": "Seconds until the window resets.", "schema": { "type": "integer" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemberList" } } } }, "400": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } }, "429": { "description": "Too many requests from this address in the current window.", "headers": { "RateLimit": { "description": "Budget left in the current window, RFC 9331 form: `\"policy\";r=;t=`.", "schema": { "type": "string" }, "example": "\"sandbox\";r=57;t=41" }, "RateLimit-Policy": { "description": "The policy in force: `\"policy\";q=;w=`.", "schema": { "type": "string" }, "example": "\"sandbox\";q=60;w=60" }, "RateLimit-Remaining": { "description": "Requests left in the window. The dashed triple mirrors `RateLimit` for clients that parse it.", "schema": { "type": "integer" } }, "RateLimit-Reset": { "description": "Seconds until the window resets.", "schema": { "type": "integer" } }, "Retry-After": { "description": "Seconds to wait before retrying.", "schema": { "type": "integer" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/sandbox": { "get": { "tags": [
"Discovery"
], "operationId": "getSandbox", "summary": "The sandbox, described", "description": "What the sandbox mount is: the base URL, every path mounted under it and what each becomes there, the paths that are deliberately absent, and whether the demo account behind /sandbox/mcp/v1 is seeded on this deployment. Read `status` before sending a tools/call there.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The sandbox.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SandboxDescriptor" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } }, "/api/batch": { "post": { "tags": [
"Directory"
], "operationId": "batchRequests", "summary": "Several reads in one round trip", "description": "Runs up to 20 GET requests against the read endpoints and answers each with its own status and body, in the order sent. The batch itself is 200 once the envelope is valid, even when every item failed, so read each item's `status`. An item naming anything that is not a batchable read is refused on its own with `allowed_paths` attached; the others still run.\n\nEach item is dispatched in-process to the endpoint it names, with your `Authorization` and `Cookie` forwarded, so a sub-response is exactly what that endpoint would have returned on its own. Each item counts against its endpoint's own rate limit; the batch saves round trips, not budget.", "security": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchRequest" } } } }, "responses": { "200": { "description": "Every sub-response, in request order.", "headers": { "RateLimit": { "description": "Budget left in the current window, RFC 9331 form: `\"policy\";r=;t=`.", "schema": { "type": "string" }, "example": "\"sandbox\";r=57;t=41" }, "RateLimit-Policy": { "description": "The policy in force: `\"policy\";q=;w=`.", "schema": { "type": "string" }, "example": "\"sandbox\";q=60;w=60" }, "RateLimit-Remaining": { "description": "Requests left in the window. The dashed triple mirrors `RateLimit` for clients that parse it.", "schema": { "type": "integer" } }, "RateLimit-Reset": { "description": "Seconds until the window resets.", "schema": { "type": "integer" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchResponse" } } } }, "400": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } }, "429": { "description": "Too many batches from this address in the current window.", "headers": { "RateLimit": { "description": "Budget left in the current window, RFC 9331 form: `\"policy\";r=;t=`.", "schema": { "type": "string" }, "example": "\"sandbox\";r=57;t=41" }, "RateLimit-Policy": { "description": "The policy in force: `\"policy\";q=;w=`.", "schema": { "type": "string" }, "example": "\"sandbox\";q=60;w=60" }, "RateLimit-Remaining": { "description": "Requests left in the window. The dashed triple mirrors `RateLimit` for clients that parse it.", "schema": { "type": "integer" } }, "RateLimit-Reset": { "description": "Seconds until the window resets.", "schema": { "type": "integer" } }, "Retry-After": { "description": "Seconds to wait before retrying.", "schema": { "type": "integer" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/api/jobs": { "post": { "tags": [
"Jobs"
], "operationId": "startJob", "summary": "Start a resync and get back where to poll for it", "description": "Work that cannot finish inside one request answers `202 Accepted` rather than making you wait. `Location` names the job, and `poll` in the body is the same URL for clients that read bodies rather than headers.\n\nStarting the same kind twice while it is still running reports the running job instead of queuing a second one, and still answers 202: the work is accepted either way. `started` says which call was the one that queued it.\n\nEvery kind here re-reads accounts you have already connected, so it is safe to repeat. Nothing destructive can be started this way.", "security": [
{
"bearerAuth": []
},
{
"oauth2": [
"linkedin"
]
}
], "parameters": [
{
"name": "Idempotency-Key",
"in": "header",
"required": false,
"description": "A unique string, usually a UUID, naming this attempt. Repeating a request under the same key returns the first answer instead of writing again, for 24 hours. The same key with a different body is a 422. The answer carries `Idempotency-Replayed`. A key is scoped to the credential that sent it, so it only ever replays your own answer and never has to be unguessable.",
"schema": {
"type": "string",
"maxLength": 255
},
"example": "3f1a2b6c-7d8e-4f90-a1b2-c3d4e5f60718"
}
], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobRequest" } } } }, "responses": { "202": { "description": "The job is queued or already running.", "headers": { "Location": { "description": "The job this request started. Poll it until `terminal` is true.", "schema": { "type": "string", "format": "uri" }, "example": "https://youspot.com/api/jobs/8412" }, "Retry-After": { "description": "Seconds to wait before retrying.", "schema": { "type": "integer" } }, "Idempotency-Replayed": { "description": "`true` when this body is a recorded answer to an earlier request under the same key.", "schema": { "type": "string", "enum": [
"true",
"false"
] } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobAccepted" } } } }, "400": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } }, "401": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } }, "422": { "description": "This `Idempotency-Key` was already used on this operation with a different request body.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/api/jobs/{job_id}": { "get": { "tags": [
"Jobs"
], "operationId": "getJob", "summary": "Poll work that outlived the request that started it", "description": "A tool that cannot finish inside one call enqueues instead, and answers with `task_id`. That id is this `job_id`.\n\nPoll until `terminal` is true. A job that is still going carries `Retry-After`, which is the interval to use. `result` is filled once `state` is `succeeded`, `error` once it is `failed`.\n\nA job is readable only by the member it belongs to.", "security": [
{
"bearerAuth": []
},
{
"oauth2": [
"linkedin"
]
}
], "parameters": [
{
"name": "job_id",
"in": "path",
"required": true,
"description": "The `task_id` a tool returned.",
"schema": {
"type": "integer"
}
}
], "responses": { "200": { "description": "The job as it stands.", "headers": { "Retry-After": { "description": "Seconds to wait before retrying.", "schema": { "type": "integer" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Job" } } } }, "401": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } }, "404": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/api/human/{username}": { "get": { "tags": [
"Directory"
], "operationId": "getMember", "summary": "One public member profile", "description": "Only what the member chose to publish. Append `.json` for the same body, or `.md` for markdown.", "security": [], "parameters": [
{
"name": "username",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"example": "jtoste"
}
], "responses": { "200": { "description": "The profile.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublicProfile" } } } }, "404": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/oauth/register": { "post": { "tags": [
"OAuth"
], "operationId": "registerClient", "summary": "Dynamic client registration (RFC 7591)", "description": "Open, with no pre-approval. Public clients are supported, so a `client_secret` is optional. Send `Idempotency-Key` so a retry after a dropped connection returns the first registration rather than making a second client.", "security": [], "parameters": [
{
"name": "Idempotency-Key",
"in": "header",
"required": false,
"description": "A unique string, usually a UUID, naming this attempt. Repeating a request under the same key returns the first answer instead of writing again, for 24 hours. The same key with a different body is a 422. The answer carries `Idempotency-Replayed`. A key is scoped to the credential that sent it, so it only ever replays your own answer and never has to be unguessable.",
"schema": {
"type": "string",
"maxLength": 255
},
"example": "3f1a2b6c-7d8e-4f90-a1b2-c3d4e5f60718"
}
], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClientRegistration" } } } }, "responses": { "201": { "description": "The registration, including `client_id`.", "headers": { "Idempotency-Replayed": { "description": "`true` when this body is a recorded answer to an earlier request under the same key.", "schema": { "type": "string", "enum": [
"true",
"false"
] } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClientRegistrationResponse" } } } }, "400": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } }, "422": { "description": "This `Idempotency-Key` was already used on this operation with a different request body.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/oauth/token": { "post": { "tags": [
"OAuth"
], "operationId": "token", "summary": "Exchange an authorization code, or refresh", "description": "Refresh tokens rotate: every refresh returns a new one and invalidates the old, and reusing a spent one invalidates the whole grant chain. Store only the newest.", "security": [], "requestBody": { "required": true, "content": { "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/TokenRequest" } } } }, "responses": { "200": { "description": "The access token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TokenResponse" } } } }, "400": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/oauth/revoke": { "post": { "tags": [
"OAuth"
], "operationId": "revoke", "summary": "Drop a grant (RFC 7009)", "description": "Revoking either token kills the pair. The answer is 200 whether or not the token was live, so this cannot be used to guess which strings are real tokens.", "security": [], "requestBody": { "required": true, "content": { "application/x-www-form-urlencoded": { "schema": { "type": "object", "required": [
"token"
], "properties": { "token": { "type": "string", "description": "The access or refresh token to drop." }, "token_type_hint": { "type": "string", "enum": [
"access_token",
"refresh_token"
], "description": "Optional, and ignored: both are looked up either way." }, "client_id": { "type": "string", "description": "The registered client." } } } } } }, "responses": { "200": { "description": "Revoked, or the token was never live. No body." }, "401": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/agent/identity": { "post": { "tags": [
"Discovery"
], "operationId": "agentIdentity", "summary": "What identity you can hold here, and who you are holding", "description": "`{\"type\":\"anonymous\"}` lists the surfaces that need no credential. `{\"type\":\"service_auth\"}` with a bearer names the member whose access it is. Any other type is a 400 naming the two that work.", "security": [], "requestBody": { "required": false, "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string", "enum": [
"anonymous",
"service_auth"
], "description": "Defaults to anonymous." } } } } } }, "responses": { "200": { "description": "The identity, and what it can reach.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentIdentity" } } } }, "400": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } }, "401": { "description": "The request was refused. `error` is stable; read `error_description` for the reason.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error" } } } } } } }, "/.well-known/oauth-authorization-server": { "get": { "tags": [
"Discovery"
], "operationId": "getAuthorizationServerMetadata", "summary": "RFC 8414 metadata, plus the auth.md `agent_auth` block", "description": "Where the authorization, token, registration and revocation endpoints are, which grant types and PKCE methods are supported, and the one scope this server issues. An agent that reads this needs nothing else to run the OAuth flow.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The metadata.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthorizationServerMetadata" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } }, "/.well-known/oauth-protected-resource": { "get": { "tags": [
"Discovery"
], "operationId": "getProtectedResourceMetadata", "summary": "RFC 9728 metadata for the MCP server", "description": "Which authorization server guards the MCP endpoint, and with what scopes. This is the document a `401` from `tools/call` names in its `WWW-Authenticate` header, so a client that hits one can find its way here without being told.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The metadata.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProtectedResourceMetadata" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } }, "/.well-known/mcp/server-card.json": { "get": { "tags": [
"Discovery"
], "operationId": "getMcpServerCard", "summary": "The product MCP server card", "description": "Every tool on the product MCP server with its title, description and input schema, at the path an MCP client looks for first. Reading this is how a client learns what the server can do before deciding whether to ask anyone to sign in.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The card.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/McpServerCard" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } }, "/.well-known/agent-card.json": { "get": { "tags": [
"Discovery"
], "operationId": "getAgentCard", "summary": "A2A agent card (v1.0)", "description": "The agent-to-agent card at the path the A2A spec reserves. One skill, and it is the honest one: this agent answers questions about YouSpot from YouSpot's own public pages. Anything touching a member's data is the MCP server's job, because that needs a credential and this endpoint does not take one.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The card.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentCard" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } }, "/.well-known/ucp": { "get": { "tags": [
"Commerce"
], "operationId": "getUcpProfile", "summary": "The Universal Commerce Protocol business profile", "description": "What an agent can transact with here. It advertises the three transports YouSpot answers on (REST, MCP and A2A) and the identity-linking capability the OAuth server provides.\n\n`payment_handlers` is empty, and that is the answer rather than an omission: no agent can hand YouSpot a payment credential today. UCP requires the member to be present even when it holds nothing, which is how a reader tells \"no handler\" apart from \"this profile forgot to mention one\". A person buys a plan at `/pricing`.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The profile.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UcpProfile" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } }, "/checkout_sessions": { "post": { "tags": [
"Commerce"
], "operationId": "createCheckoutSession", "summary": "Agentic Commerce Protocol checkout, which this server does not implement", "description": "The endpoint exists and negotiates, so a client can find out what YouSpot supports without guessing at a 404. It answers `501` with the ACP protocol-level error naming the version it speaks.\n\nThe error carries only the four members the ACP schema allows, because it refuses additional properties. What to do instead is in `message`: buy a plan as a person at `/pricing`, then let an agent reach that account over OAuth.", "security": [], "parameters": [
{
"name": "API-Version",
"in": "header",
"required": false,
"description": "The ACP spec version you are asking for, `YYYY-MM-DD`. The answer names the versions this server speaks in `supported_versions`.",
"schema": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"example": "2026-04-17"
}
], "requestBody": { "required": false, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CheckoutSessionRequest" } } } }, "responses": { "501": { "description": "The endpoint negotiates, the operation is not built. 501 rather than 404, so a client can tell \"not here yet\" from \"no such protocol\".", "headers": { "API-Version": { "description": "The ACP version this server speaks.", "schema": { "type": "string" }, "example": "2026-04-17" } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AcpError" } } } } } } }, "/agentic_commerce/delegate_payment": { "post": { "tags": [
"Commerce"
], "operationId": "delegatePayment", "summary": "ACP delegated payment credentials, which this server does not implement", "description": "The same negotiation as `/checkout_sessions`, for the endpoint that would take a scoped payment credential from a buyer's agent. There is nothing to delegate to: YouSpot charges a person through Stripe, and no agent-initiated rail exists yet.", "security": [], "parameters": [
{
"name": "API-Version",
"in": "header",
"required": false,
"description": "The ACP spec version you are asking for, `YYYY-MM-DD`. The answer names the versions this server speaks in `supported_versions`.",
"schema": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"example": "2026-04-17"
}
], "requestBody": { "required": false, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelegatePaymentRequest" } } } }, "responses": { "501": { "description": "The endpoint negotiates, the operation is not built. 501 rather than 404, so a client can tell \"not here yet\" from \"no such protocol\".", "headers": { "API-Version": { "description": "The ACP version this server speaks.", "schema": { "type": "string" }, "example": "2026-04-17" } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AcpError" } } } } } } }, "/.well-known/api-catalog": { "get": { "tags": [
"Discovery"
], "operationId": "getApiCatalog", "summary": "RFC 9727 linkset", "description": "The registered discovery path for \"which APIs does this domain have\". A linkset naming this OpenAPI document, both MCP servers, the A2A card and the OAuth metadata, so a client that knows only RFC 9727 still finds everything.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The catalog.", "content": { "application/linkset+json": { "schema": { "type": "object" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } }, "/auth.md": { "get": { "tags": [
"Discovery"
], "operationId": "getAuthGuide", "summary": "How an agent gets a credential, in order, with runnable requests", "description": "The prose companion to the OAuth metadata: which method to pick, the registration and authorization requests as runnable curl, what the one scope covers, and what a 401 means. Read this if the metadata documents left you with a decision to make.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The walkthrough.", "content": { "text/markdown": { "schema": { "type": "string" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } }, "/llms.txt": { "get": { "tags": [
"Discovery"
], "operationId": "getLlmsTxt", "summary": "Every public page, one line each", "description": "The site index for language models: every public page with a one-line description and a link to its markdown twin. `/llms-full.txt` is the same index with the page bodies inlined, for a reader that would rather make one request than thirty.", "security": [], "parameters": [
{
"name": "If-None-Match",
"in": "header",
"required": false,
"description": "The `ETag` from an earlier answer. When it still matches, the answer is `304 Not Modified` with no body.",
"schema": {
"type": "string"
},
"example": "W/\"9cbfa0cab72c99b49b0b1b68f0e717d5\""
}
], "responses": { "200": { "description": "The index.", "content": { "text/plain": { "schema": { "type": "string" } } } }, "304": { "description": "The document has not changed since the ETag you sent. No body.", "headers": { "ETag": { "description": "The current validator.", "schema": { "type": "string" } } } } } } } }, "components": { "securitySchemes": { "oauth2": { "type": "oauth2", "description": "Authorization code with PKCE S256. Register at https://youspot.com/oauth/register; the metadata is at https://youspot.com/.well-known/oauth-authorization-server.", "flows": { "authorizationCode": { "authorizationUrl": "https://youspot.com/oauth/authorize", "tokenUrl": "https://youspot.com/oauth/token", "refreshUrl": "https://youspot.com/oauth/token", "scopes": { "linkedin": "Read and write the signed-in person's own CRM." } } } }, "bearerAuth": { "type": "http", "scheme": "bearer", "description": "An OAuth access token, or a per-tool token the member minted at https://youspot.com/user/mcp." } }, "schemas": { "Error": { "type": "object", "required": [
"error"
], "properties": { "error": { "type": "string", "examples": [
"invalid_request",
"not_found"
] }, "error_description": { "type": "string" }, "documentation_url": { "type": "string", "format": "uri" } } }, "AgentIndex": { "type": "object", "required": [
"object",
"base_url",
"endpoints",
"authentication"
], "properties": { "object": { "type": "string", "const": "index" }, "name": { "type": "string" }, "description": { "type": "string" }, "base_url": { "type": "string", "format": "uri" }, "documentation_url": { "type": "string", "format": "uri" }, "endpoints": { "type": "array", "items": { "type": "object", "required": [
"method",
"url",
"auth"
], "properties": { "method": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "auth": { "type": "string", "enum": [
"none",
"oauth2"
] }, "anonymous_methods": { "type": "array", "items": { "type": "string" } }, "description": { "type": "string" } } } }, "authentication": { "type": "object" }, "machine_readable": { "type": "object", "additionalProperties": { "type": "string" } }, "contact": { "type": "string" } } }, "AskRequest": { "type": "object", "description": "Either `{\"query\": \"text\"}` or the NLWeb `{\"query\": {\"text\": \"...\"}}`.", "properties": { "query": { "oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"text": {
"type": "string"
}
}
}
] }, "prefer": { "type": "object", "properties": { "streaming": { "type": "boolean" } } } } }, "AskResult": { "type": "object", "required": [
"url",
"name",
"site",
"score",
"description"
], "properties": { "url": { "type": "string", "format": "uri", "description": "A page on this site." }, "name": { "type": "string" }, "site": { "type": "string", "const": "youspot.com" }, "score": { "type": "number", "description": "Relative, within one response. Not comparable across queries." }, "description": { "type": "string", "description": "The passage that matched, or the page description when the match was in the title." }, "schema_object": { "type": "object", "description": "schema.org for the page, including the markdown twin under `encoding.contentUrl`." } } }, "AskResponse": { "type": "object", "required": [
"_meta",
"results"
], "properties": { "_meta": { "type": "object", "properties": { "query": { "type": "string" }, "query_id": { "type": "string" }, "site": { "type": "string" }, "generated_at": { "type": "string", "format": "date-time" }, "retrieval": { "type": "string", "const": "keyword" }, "results_returned": { "type": "integer" } } }, "@context": { "type": "string", "const": "https://schema.org" }, "query_id": { "type": "string" }, "results": { "type": "array", "items": { "$ref": "#/components/schemas/AskResult" } } } }, "JsonRpcRequest": { "type": "object", "required": [
"method"
], "properties": { "jsonrpc": { "type": "string", "const": "2.0" }, "id": { "description": "Omit it, with a `notifications/*` method, for a notification.", "oneOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
] }, "method": { "type": "string", "examples": [
"initialize",
"tools/list",
"tools/call"
] }, "params": { "type": "object" } } }, "JsonRpcResponse": { "type": "object", "required": [
"jsonrpc"
], "properties": { "jsonrpc": { "type": "string", "const": "2.0" }, "id": { "oneOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
] }, "result": { "type": "object" }, "error": { "type": "object", "properties": { "code": { "type": "integer" }, "message": { "type": "string" } } } } }, "MemberSummary": { "type": "object", "required": [
"username",
"name"
], "properties": { "username": { "type": "string" }, "name": { "type": "string" }, "headline": { "type": [
"string",
"null"
] }, "avatar_url": { "type": [
"string",
"null"
], "format": "uri" }, "member_since": { "type": "string", "format": "date" } } }, "MemberList": { "type": "object", "required": [
"success",
"members",
"has_more"
], "properties": { "success": { "type": "boolean" }, "members": { "type": "array", "items": { "$ref": "#/components/schemas/MemberSummary" } }, "has_more": { "type": "boolean", "description": "Whether another page exists after this one." }, "next_cursor": { "type": [
"string",
"null"
], "description": "Send back as `cursor` for the next page. Null on the last page." }, "page": { "type": "integer", "description": "Only meaningful for offset paging." }, "per_page": { "type": "integer" }, "total": { "type": "integer", "description": "Members matching the filter, across every page." } } }, "UcpProfile": { "type": "object", "required": [
"version",
"ucp"
], "properties": { "version": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "example": "2026-08-25" }, "ucp": { "type": "object", "required": [
"version",
"services",
"payment_handlers"
], "properties": { "version": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, "services": { "type": "object", "additionalProperties": true }, "capabilities": { "type": "object", "additionalProperties": true }, "payment_handlers": { "type": "object", "additionalProperties": true, "description": "Empty: no agent-initiated payment rail exists here yet." } } }, "checkout": { "type": "object", "properties": { "status": { "type": "string", "enum": [
"not_supported"
] }, "endpoint": { "type": "string", "format": "uri" }, "human_checkout": { "type": "string", "format": "uri" } } } } }, "AcpError": { "type": "object", "required": [
"type",
"code",
"message"
], "description": "The ACP protocol-level error. The schema refuses additional properties, so nothing beyond these four members may appear.", "properties": { "type": { "type": "string", "enum": [
"invalid_request",
"processing_error",
"service_unavailable"
] }, "code": { "type": "string", "example": "checkout_not_supported" }, "message": { "type": "string", "description": "What to do instead, since the schema leaves nowhere else to say it." }, "supported_versions": { "type": "array", "items": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, "description": "Newest first." } } }, "CheckoutSessionRequest": { "type": "object", "description": "An ACP checkout session as the spec defines it. Sent or omitted, the answer is the same 501.", "properties": { "items": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "quantity": { "type": "integer", "minimum": 1 } } } }, "buyer": { "type": "object", "additionalProperties": true }, "fulfillment_address": { "type": "object", "additionalProperties": true } } }, "DelegatePaymentRequest": { "type": "object", "description": "An ACP delegated payment credential. Sent or omitted, the answer is the same 501.", "properties": { "payment_method": { "type": "object", "additionalProperties": true }, "allowance": { "type": "object", "additionalProperties": true }, "risk_signals": { "type": "array", "items": { "type": "object", "additionalProperties": true } } } }, "JobRequest": { "type": "object", "required": [
"kind"
], "properties": { "kind": { "type": "string", "description": "Which resync to run. Anything else is a 400 that names the ones you can.", "enum": [
"linkedin_posts_sync",
"twitter_posts_sync",
"twitter_connections_sync",
"embed_objects"
] } } }, "JobAccepted": { "type": "object", "required": [
"success",
"job_id",
"kind",
"state",
"started",
"poll"
], "properties": { "success": { "type": "boolean" }, "job_id": { "type": "integer" }, "kind": { "type": "string", "enum": [
"linkedin_posts_sync",
"twitter_posts_sync",
"twitter_connections_sync",
"embed_objects"
] }, "state": { "type": "string", "enum": [
"queued",
"running"
] }, "started": { "type": "boolean", "description": "False when this kind was already running and that job is the one named here." }, "poll": { "type": "string", "format": "uri", "description": "Where to poll. The same URL as the `Location` header." } } }, "Job": { "type": "object", "required": [
"success",
"job_id",
"kind",
"state",
"terminal"
], "properties": { "success": { "type": "boolean" }, "job_id": { "type": "integer" }, "kind": { "type": "string", "description": "What the job does, e.g. `file_import`." }, "state": { "type": "string", "enum": [
"queued",
"running",
"succeeded",
"failed",
"cancelled"
] }, "terminal": { "type": "boolean", "description": "True once the state can no longer change. Stop polling." }, "attempts": { "type": "integer", "description": "Runs so far, including the current one." }, "progress": { "type": [
"object",
"null"
], "additionalProperties": true, "description": "Whatever the job checkpoints as it goes. Shape depends on `kind`." }, "created_at": { "type": [
"string",
"null"
], "format": "date-time" }, "started_at": { "type": [
"string",
"null"
], "format": "date-time" }, "finished_at": { "type": [
"string",
"null"
], "format": "date-time" }, "result": { "type": [
"object",
"null"
], "additionalProperties": true, "description": "Filled once `state` is `succeeded`." }, "error": { "type": [
"string",
"null"
], "description": "Filled once `state` is `failed`." } } }, "PublicProfile": { "type": "object", "required": [
"success",
"username",
"name"
], "properties": { "success": { "type": "boolean" }, "username": { "type": "string" }, "name": { "type": "string" }, "avatar_url": { "type": [
"string",
"null"
], "format": "uri" }, "linkedin_profile_url": { "type": [
"string",
"null"
], "format": "uri" }, "twitter_username": { "type": [
"string",
"null"
] }, "member_since": { "type": "string", "format": "date" }, "hubcli_beta": { "type": "boolean" }, "hubcode_beta": { "type": "boolean" } } }, "ClientRegistration": { "type": "object", "required": [
"client_name",
"redirect_uris"
], "properties": { "client_name": { "type": "string" }, "redirect_uris": { "type": "array", "items": { "type": "string", "format": "uri" }, "description": "https, or http on localhost." }, "grant_types": { "type": "array", "items": { "type": "string", "enum": [
"authorization_code",
"refresh_token"
] } }, "response_types": { "type": "array", "items": { "type": "string", "const": "code" } }, "token_endpoint_auth_method": { "type": "string", "enum": [
"none",
"client_secret_post",
"client_secret_basic"
] }, "scope": { "type": "string", "const": "linkedin" } } }, "TokenRequest": { "type": "object", "required": [
"grant_type",
"client_id"
], "properties": { "grant_type": { "type": "string", "enum": [
"authorization_code",
"refresh_token"
] }, "client_id": { "type": "string" }, "code": { "type": "string", "description": "With `authorization_code`. Single use, 60 seconds." }, "code_verifier": { "type": "string", "description": "With `authorization_code`. PKCE S256 is mandatory." }, "redirect_uri": { "type": "string", "format": "uri" }, "refresh_token": { "type": "string", "description": "With `refresh_token`. Rotated on every use." } } }, "TokenResponse": { "type": "object", "required": [
"access_token",
"token_type"
], "properties": { "access_token": { "type": "string" }, "token_type": { "type": "string", "const": "Bearer" }, "expires_in": { "type": "integer" }, "refresh_token": { "type": "string" }, "scope": { "type": "string" } } }, "ClientRegistrationResponse": { "type": "object", "required": [
"client_id",
"redirect_uris"
], "additionalProperties": true, "properties": { "client_id": { "type": "string" }, "client_secret": { "type": "string", "description": "Confidential clients only. A public client is registered without one." }, "client_id_issued_at": { "type": "integer" }, "redirect_uris": { "type": "array", "items": { "type": "string", "format": "uri" } }, "client_name": { "type": "string" }, "grant_types": { "type": "array", "items": { "type": "string" } }, "token_endpoint_auth_method": { "type": "string" } } }, "AgentIdentity": { "type": "object", "required": [
"identity_type",
"authenticated",
"endpoints"
], "properties": { "identity_type": { "type": "string", "enum": [
"anonymous",
"service_auth"
] }, "authenticated": { "type": "boolean" }, "endpoints": { "type": "object", "additionalProperties": { "type": "string", "format": "uri" }, "description": "What this identity can reach, by name." }, "skill": { "type": "string", "format": "uri", "description": "The walkthrough for getting a credential." }, "username": { "type": "string", "description": "Present with `service_auth`: whose access the bearer is." } } }, "SandboxDescriptor": { "type": "object", "required": [
"object",
"status",
"base_url",
"mounted"
], "properties": { "object": { "type": "string", "enum": [
"sandbox"
] }, "name": { "type": "string" }, "status": { "type": "string", "enum": [
"available",
"not_seeded"
], "description": "`not_seeded` means tools/list answers and tools/call is a 503 until a demo account exists here." }, "status_note": { "type": "string" }, "base_url": { "type": "string", "format": "uri" }, "production_base_url": { "type": "string", "format": "uri" }, "mcp_url": { "type": "string", "format": "uri" }, "openapi": { "type": "string", "format": "uri" }, "documentation_url": { "type": "string", "format": "uri" }, "description": { "type": "string" }, "authentication": { "type": "object", "properties": { "required": { "type": "boolean" }, "note": { "type": "string" } } }, "mounted": { "type": "array", "items": { "type": "object", "required": [
"path",
"production"
], "properties": { "path": { "type": "string" }, "production": { "type": "string", "description": "The production path this one answers as." }, "note": { "type": "string" } } } }, "not_mounted": { "type": "array", "items": { "type": "object", "properties": { "path": { "type": "string" }, "note": { "type": "string" } } } }, "rate_limit": { "type": "object", "additionalProperties": true }, "examples": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string" }, "request": { "type": "string" }, "response": { "type": "string" } } } }, "differences_from_production": { "type": "array", "items": { "type": "string" } } } }, "BatchRequest": { "type": "object", "required": [
"requests"
], "properties": { "requests": { "type": "array", "minItems": 1, "maxItems": 20, "items": { "type": "object", "required": [
"path"
], "properties": { "id": { "type": "string", "description": "Echoed on the matching response. Defaults to the item's position." }, "method": { "type": "string", "enum": [
"GET"
], "default": "GET" }, "path": { "type": "string", "description": "One of the batchable reads: `/api/network/members`, `/api/human/{username}` (with or without `.json` or `.md`), `/api/jobs/{job_id}`, the MCP cards at `/mcp/v1` and `/mcp/sandbox`, `/.well-known/mcp/server-card.json`, `/.well-known/api-catalog`, the two OAuth metadata documents, and `/auth.md`.", "example": "/api/network/members" }, "query": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Query parameters for the item, as the endpoint documents them.", "example": { "q": "consulting", "per_page": "5" } } } } } } }, "BatchResponse": { "type": "object", "required": [
"object",
"count",
"responses"
], "properties": { "object": { "type": "string", "enum": [
"batch"
] }, "count": { "type": "integer" }, "responses": { "type": "array", "items": { "type": "object", "required": [
"id",
"status"
], "properties": { "id": { "type": "string" }, "status": { "type": "integer", "description": "The HTTP status the endpoint answered." }, "content_type": { "type": "string" }, "body": { "description": "The parsed JSON body, when the endpoint answered JSON.", "type": "object", "additionalProperties": true }, "text": { "type": "string", "description": "The body as text, when it was not JSON." } } } } } }, "McpServerCard": { "type": "object", "required": [
"name",
"description",
"version",
"url",
"transport",
"tools"
], "additionalProperties": true, "properties": { "$schema": { "type": "string", "format": "uri" }, "name": { "type": "string", "description": "Reverse-DNS, e.g. `com.youspot/youspot`." }, "title": { "type": "string" }, "description": { "type": "string" }, "version": { "type": "string" }, "url": { "type": "string", "format": "uri", "description": "Where to POST JSON-RPC." }, "serverUrl": { "type": "string", "format": "uri" }, "endpoint": { "type": "string", "format": "uri" }, "transport": { "type": "string", "enum": [
"streamable-http"
] }, "kind": { "type": "string", "description": "`product`, `docs` or `sandbox`." }, "instructions": { "type": "string" }, "protocolVersions": { "type": "array", "items": { "type": "string" } }, "documentationUrl": { "type": "string", "format": "uri" }, "websiteUrl": { "type": "string", "format": "uri" }, "capabilities": { "type": "object", "additionalProperties": true }, "authentication": { "type": "object", "additionalProperties": true, "properties": { "type": { "type": "string" }, "required": { "type": "boolean" }, "description": { "type": "string" } } }, "tools": { "type": "array", "description": "Names and one-line summaries. The typed schemas come from `tools/list`.", "items": { "type": "object", "required": [
"name"
], "additionalProperties": true, "properties": { "name": { "type": "string" }, "description": { "type": "string" } } } } } }, "AgentCard": { "type": "object", "required": [
"name",
"description",
"url",
"version",
"protocolVersion",
"skills"
], "additionalProperties": true, "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "version": { "type": "string" }, "protocolVersion": { "type": "string" }, "preferredTransport": { "type": "string" }, "iconUrl": { "type": "string", "format": "uri" }, "documentationUrl": { "type": "string", "format": "uri" }, "defaultInputModes": { "type": "array", "items": { "type": "string" } }, "defaultOutputModes": { "type": "array", "items": { "type": "string" } }, "capabilities": { "type": "object", "additionalProperties": true }, "provider": { "type": "object", "additionalProperties": true }, "securitySchemes": { "type": "object", "additionalProperties": true }, "skills": { "type": "array", "items": { "type": "object", "required": [
"id",
"name",
"description"
], "additionalProperties": true, "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } } } } } }, "AuthorizationServerMetadata": { "type": "object", "required": [
"issuer",
"authorization_endpoint",
"token_endpoint"
], "additionalProperties": true, "properties": { "issuer": { "type": "string", "format": "uri" }, "authorization_endpoint": { "type": "string", "format": "uri" }, "token_endpoint": { "type": "string", "format": "uri" }, "registration_endpoint": { "type": "string", "format": "uri" }, "revocation_endpoint": { "type": "string", "format": "uri" }, "scopes_supported": { "type": "array", "items": { "type": "string" } }, "response_types_supported": { "type": "array", "items": { "type": "string" } }, "grant_types_supported": { "type": "array", "items": { "type": "string" } }, "code_challenge_methods_supported": { "type": "array", "items": { "type": "string" }, "description": "S256 only. `plain` is refused." }, "token_endpoint_auth_methods_supported": { "type": "array", "items": { "type": "string" } }, "service_documentation": { "type": "string", "format": "uri" }, "agent_auth": { "type": "object", "additionalProperties": true, "description": "What an agent can hold here, and how to get it. Mirrors /auth.md." } } }, "ProtectedResourceMetadata": { "type": "object", "required": [
"resource",
"authorization_servers"
], "additionalProperties": true, "properties": { "resource": { "type": "string", "format": "uri" }, "resource_name": { "type": "string" }, "resource_documentation": { "type": "string", "format": "uri" }, "authorization_servers": { "type": "array", "items": { "type": "string", "format": "uri" } }, "scopes_supported": { "type": "array", "items": { "type": "string" } }, "bearer_methods_supported": { "type": "array", "items": { "type": "string" } } } } } } }