{"version":3,"file":"DocsApiReference.Cq1dacCK.mjs","names":["Fragment","_Fragment","useState","useRef","useMemo","__esmMin","init_npm_react_18_3_1","navigator","x","pe","de","window","init_ssg_sandbox_shims","c","p","ce","_e","addPropertyControls","init_framer_BpuvUAiZ","RenderTarget","ControlType","docsCodeText","init_DocsCode","docsWording","text","sentenceCase","index","KEEP_CASE","word","resolve","current","schema","hops","name","spec","withoutNull","variant","typeLabel","variants","labels","target","item","fieldNotes","notes","fallback","shown","fieldOptions","childFields","depth","MAX_DEPTH","properties","required","toField","description","exampleValue","slugify","sentences","flat","out","boundary","start","match","end","ticks","stars","leadSentences","limit","parts","lead","curl","url","lines","query","value","method","CURL_LINE","body","json","line","toEndpoints","base","endpoints","METHODS","operation","path","verb","raw","betaLine","parameters","PARAMETER_GROUPS","group","parameter","content","examples","named","responses","response","status","title","paragraphs","paragraph","notices","first","summary","rest","SUMMARY_LENGTH","id","count","endpoint","inlineText","nodes","bold","chunk","key","keyPrefix","chunkIndex","partIndex","part","inlineCodeStyle","Prose","blocks","block","proseStyle","size","lineIndex","BODY_FONT","TEXT","copyText","field","copied","CopyButton","isCanvas","setCopied","hovered","setHovered","timerRef","label","SURFACE_HOVER","TEXT_SECONDARY","EASE","Tag","BORDER","Caret","open","Toggle","props","FieldText","setOpen","FIELD_LENGTH","FieldList","fields","nested","mono","metaStyle","optionIndex","option","Examples","selected","setSelected","SURFACE","ExampleTab","example","tabStyle","SubHeading","MethodTag","colors","METHOD_COLORS","scrollToEndpoint","event","EndpointList","Details","StatusRow","Responses","openFields","setOpenFields","openErrors","setOpenErrors","successes","errors","rowStyle","Notice","EndpointSection","HEADING_FONT","heading","SCROLL_OFFSET_PX","notice","DocsApiReference","liveSpec","setLiveSpec","live","specUrl","cancelled","SNAPSHOT","monoFont","MONO","headingFont","style","__FramerMetadata__","init_DocsApiReference","init_jsx_runtime","\"openapi\"","\"info\"","\"title\"","\"description\"","\"version\"","\"servers\"","\"url\"","\"paths\"","\"post\"","\"tags\"","\"summary\"","\"operationId\"","\"requestBody\"","\"content\"","\"schema\"","\"$ref\"","\"examples\"","\"customer_message\"","\"value\"","\"session_id\"","\"payload\"","\"type\"","\"message\"","\"user_identifier\"","\"user_name\"","\"user_email\"","\"parahelp_agent_message\"","\"custom_payload\"","\"event\"","\"order_id\"","\"preferred_resolution\"","\"customer_note\"","\"required\"","\"responses\"","\"security\"","\"HTTPBearer\"","\"select_agent_profile\"","\"agent_profile_id\"","\"environment_variables\"","\"USER_EMAIL\"","\"get\"","\"parameters\"","\"name\"","\"in\"","\"minLength\"","\"maxLength\"","\"items\"","\"default\"","\"maximum\"","\"minimum\"","\"anyOf\"","\"const\"","\"pattern\"","\"components\"","\"schemas\"","\"JsonValue\"","\"PublicSupportEventType\"","\"enum\"","\"SupportAgentProfileListResponse\"","\"properties\"","\"agent_profiles\"","\"maxItems\"","\"additionalProperties\"","\"SupportAgentProfileResponse\"","\"agent_name\"","\"SupportApiSessionDataResponse\"","\"SupportApiSessionListResponse\"","\"sessions\"","\"next_cursor\"","\"SupportApiSessionResponse\"","\"session_data\"","\"first_event_occurred_at\"","\"format\"","\"example\"","\"latest_event_occurred_at\"","\"SupportDataEventCreateRequest\"","\"event_id\"","\"SupportEventCreateResponse\"","\"stored\"","\"duplicate\"","\"SupportEventListResponse\"","\"events\"","\"SupportEventResponse\"","\"data\"","\"occurred_at\"","\"SupportSessionUpdatedEventCreateRequest\"","\"securitySchemes\"","\"scheme\"","\"exports\"","\"slots\"","\"annotations\"","\"framerContractVersion\"","\"framerSupportedLayoutHeight\"","\"framerSupportedLayoutWidth\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/h2sobHo2DoGeKIPZ2KAx/yTHb8mBPHEAc0CLpIZff/DocsApiReference.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{Fragment,useEffect,useMemo,useRef,useState}from\"react\";import{docsCodeText}from\"https://framerusercontent.com/modules/pjqXIxA1wUA0NqQysXLd/tj7zN4mOuMwsC9UOrFV8/DocsCode.js\";const EASE=\"cubic-bezier(0.44, 0, 0.56, 1)\";const TEXT=\"var(--token-f23ee111-2865-4a59-9b25-7455eb7aae17, rgb(28, 25, 23))\";const TEXT_SECONDARY=\"var(--token-cf2d00e4-458c-4b50-9976-9d4aced274b4, rgb(120, 113, 108))\";const SURFACE=\"var(--token-b02b4c51-22fa-4da9-9edb-86be0ea80501, rgb(244, 243, 242))\";const SURFACE_HOVER=\"var(--token-e6a52113-d20a-48b3-a0b2-b5a91e01de55, rgb(237, 236, 235))\";const BORDER=\"var(--token-9c3c8eb7-0a00-4d43-a175-00d2aca86500, rgba(0, 0, 0, 0.08))\";const HEADING_FONT='\"Season Sans Medium\", \"Season Sans\", \"Inter\", sans-serif';const BODY_FONT='\"Inter\", \"Inter Placeholder\", sans-serif';const MONO='\"Fragment Mono\", ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, monospace';const METHOD_COLORS={GET:{text:\"rgb(22, 49, 103)\",fill:\"rgb(213, 220, 240)\"},POST:{text:\"rgb(41, 124, 59)\",fill:\"rgb(223, 243, 223)\"},PUT:{text:\"rgb(173, 87, 0)\",fill:\"rgb(255, 236, 188)\"},PATCH:{text:\"rgb(173, 87, 0)\",fill:\"rgb(255, 236, 188)\"},DELETE:{text:\"rgb(202, 50, 20)\",fill:\"rgb(253, 216, 211)\"}};const METHODS=[\"get\",\"post\",\"put\",\"patch\",\"delete\"];const KEEP_CASE=new Set([\"API\",\"JSON\",\"ID\",\"URL\",\"MCP\",\"Parahelp\"]);const MAX_DEPTH=3;/** How much of a description shows before \"Show details\" or \"More\". */const SUMMARY_LENGTH=240;const FIELD_LENGTH=160;/** The longest first line of a curl example that still fits the code block on one line. */const CURL_LINE=70;const SCROLL_OFFSET_PX=96;const PARAMETER_GROUPS=[{location:\"path\",title:\"Path parameters\"},{location:\"query\",title:\"Query parameters\"},{location:\"header\",title:\"Headers\"}];/** The spec as it was when this component was last updated. Shown until the live spec loads. */const SNAPSHOT={\"openapi\":\"3.1.0\",\"info\":{\"title\":\"Parahelp Support API\",\"description\":'**Beta:** available to organizations with special access; contact Parahelp to enable it.\\n\\nThe Support API is built around three concepts:\\n\\n- **Sessions:** a session is a list of events. Each session has an id, usually one you choose.\\n- **Events:** an event is something that happened, such as a customer message or an order update. The Customer Agent reacts to events.\\n- **Agent profiles:** created through the Parahelp agent, an agent profile defines a Customer Agent with its tools and memory. A session runs the Customer Agent of the agent profile it selects.\\n\\nA typical integration lists agent profiles with `GET /api/v0/support/agent-profiles`, sends a session\\'s data events, selects an agent profile with a session updated event, and reads the results with `GET /api/v0/support/events`. The Customer Agent replies only through your custom tools.\\n\\nAuthenticate every request with `Authorization: Bearer <API key>`. Organization admins create and delete API keys in Settings > API keys. A key gives full access to your organization\\'s Parahelp API, so keep it in your backend, never in a browser or mobile app. A custom tool that uses a Parahelp connection receives a short-lived execution token that works like an API key on this API until 30 seconds after the tool\\'s timeout, even if the run ends sooner; ask the Parahelp agent to set one up.\\n\\nEvent writes return 202 once the event is recorded; the Customer Agent receives events, and sessions update, asynchronously.\\n\\nErrors return a JSON `detail`: a message, or a list of problems for most request validation errors, so a 422 can carry either. An unexpected 500 returns `{\"message\": \"Internal server error\"}`.',\"version\":\"0.2.0\"},\"servers\":[{\"url\":\"https://external-api.parahelp.com\"}],\"paths\":{\"/api/v0/support/events/api/data\":{\"post\":{\"tags\":[\"Support API\"],\"summary\":\"Send Data Event\",\"description\":'**Beta. This endpoint is only available to organizations with special access. Contact Parahelp to enable it.**\\n\\nSend a data event: any JSON describing something that happened, such as a customer message, an order update, or a reply sent by one of your custom tools. The Customer Agent sees the JSON value you sent. We recommend two default types, which the Customer Agent knows without further instructions: `customer_message` for what a customer wrote, and `parahelp_agent_message` for a reply a custom tool sends. Nothing requires them.\\n\\nA session is a list of events. Generate a unique id for each session, typically a UUID, and send it as `session_id` with every event of the session; the first event creates the session. If you omit `session_id`, a new session is created and its generated `session_id` is returned.\\n\\nA new session has no agent profile, so its events do not run the Customer Agent until a session updated event (`POST /api/v0/support/events/api/session-updated`) selects one; the Customer Agent then also sees the earlier events. After that, every data event asks the Customer Agent to run, including events your custom tools send. Events that arrive close together or during a run may be handled by one run, and the Customer Agent can decide to do nothing.\\n\\nThe supplied event fields, serialized as compact UTF-8 JSON after validation, must be at most 51,200 bytes. Request formatting whitespace does not count. Larger events return 422.\\n\\nJSON keys and string values must contain valid Unicode. Tab, newline, and carriage return are allowed; other control characters, including NUL, are rejected. These rules also apply inside nested data. Numbers must be finite: NaN, Infinity, -Infinity, and numbers that overflow to infinity are rejected. Strings such as `\"NaN\"` remain valid. Rejected events return 422 and are not recorded.\\n\\nA 202 response with `stored: true` means the event is recorded. The Customer Agent receives it, and the session\\'s agent profile and environment variables update, asynchronously. `GET /api/v0/support/events` lists the recorded event, when its `type` is requested, as soon as this request returns.\\n\\nSupply `event_id`, together with your own `session_id`, on the first request to make retries safe. Both event endpoints share one set of event ids. A retry with the same `event_id`, the same contents, and the same `session_id` in the same letter case receives `duplicate: true`. For session updated events, omitting a setting is different content from sending it as `null` or `{}`. Reusing an `event_id` for another event type, different contents, or a different `session_id`, including one that differs only in letter case, returns 409. Without `event_id`, every request records a new event and returns `event_id: null`.',\"operationId\":\"create_data_event_api_v0_support_events_api_data_post\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/SupportDataEventCreateRequest\"},\"examples\":{\"customer_message\":{\"summary\":\"Send a customer message\",\"value\":{\"session_id\":\"8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\",\"payload\":{\"type\":\"customer_message\",\"message\":\"My order has not arrived.\",\"user_identifier\":\"usr_18273\",\"user_name\":\"Jane\",\"user_email\":\"jane@example.com\"}}},\"parahelp_agent_message\":{\"summary\":\"Send a reply from a custom tool\",\"value\":{\"session_id\":\"8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\",\"payload\":{\"type\":\"parahelp_agent_message\",\"message\":\"Hi Jane, could you share your order number so I can check its status?\"}}},\"custom_payload\":{\"summary\":\"Send any JSON\",\"value\":{\"session_id\":\"8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\",\"payload\":{\"event\":\"return_requested\",\"order_id\":\"5678\",\"preferred_resolution\":\"Exchange for size L\",\"customer_note\":\"I need it before my trip next Friday.\"}}}}}},\"required\":true},\"responses\":{\"202\":{\"description\":\"The recorded event's identifiers.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/SupportEventCreateResponse\"}}}},\"400\":{\"description\":\"The request body could not be decoded, for example because it is not valid UTF-8.\"},\"401\":{\"description\":\"Missing or invalid API key or execution token, or one whose key was deleted or whose token expired.\"},\"403\":{\"description\":\"Your organization does not have Support API access. Contact Parahelp to enable it.\"},\"409\":{\"description\":\"The event_id was already recorded with different contents or a different session_id.\"},\"415\":{\"description\":\"Unsupported Media Type. The `Content-Type` header must be `application/json`.\"},\"422\":{\"description\":\"Request validation error: malformed JSON, unknown or missing fields, an invalid session_id, event_id or agent_profile_id, disallowed characters, non-finite numbers, or an event over the size limit. Session updated events also reject invalid environment-variable names, PARAHELP_SESSION_ID, and names matching organization secrets.\"},\"500\":{\"description\":\"Internal server error. The event may have been recorded; retry with the same event_id and session_id. A request without a session_id cannot be retried this way.\"}},\"security\":[{\"HTTPBearer\":[]}]}},\"/api/v0/support/events/api/session-updated\":{\"post\":{\"tags\":[\"Support API\"],\"summary\":\"Send Session Updated Event\",\"description\":\"**Beta. This endpoint is only available to organizations with special access. Contact Parahelp to enable it.**\\n\\n**All environment-variable names and values are visible to the Customer Agent and stored in session event history.** Do not include passwords, API keys, access tokens, or other secrets; give custom tools secrets as Parahelp secrets. Updating or clearing variables does not erase earlier values from event history.\\n\\nSend a session updated event: it changes the session's agent profile and environment variables together. Omitted settings stay unchanged. New sessions start without an agent profile or variables.\\n\\nSelect the agent profile whose Customer Agent handles the session by an `agent_profile_id` from `GET /api/v0/support/agent-profiles`, exactly as listed. Send `agent_profile_id: null` to remove it: the session keeps recording events, but they no longer run the Customer Agent. The same happens when the selected agent profile is deleted, until you select another.\\n\\nUse environment variables for values your custom tools need that the Customer Agent should not supply, such as the customer's email for a refund tool. A provided `environment_variables` map replaces all previous variables; `{}` removes them all, and null is invalid. Custom tools receive the resulting variables. Names matching your organization's secrets are rejected; if a matching secret is added later, tool calls that need it fail until you rename or remove the variable.\\n\\nLike a data event, every recorded session updated event asks the Customer Agent to run when the session has an agent profile, and gives it new attempts if earlier runs failed. Events that arrive close together or during a run may be handled by one run. A run already in progress keeps the agent profile and variables it started with.\\n\\nEvery request records a new event, even one that changes nothing, unless it returns `duplicate: true`. Retries are validated again, so a retry can return 404 or 422 if the agent profile or your organization's secrets changed in between.\\n\\nThe supplied event fields, serialized as compact UTF-8 JSON after validation, must be at most 51,200 bytes. Request formatting whitespace does not count. Larger events return 422.\\n\\nJSON keys and string values must contain valid Unicode. Tab, newline, and carriage return are allowed; other control characters, including NUL, are rejected. These rules also apply inside nested data. Numbers must be finite: NaN, Infinity, -Infinity, and numbers that overflow to infinity are rejected. Strings such as `\\\"NaN\\\"` remain valid. Rejected events return 422 and are not recorded.\\n\\nA 202 response with `stored: true` means the event is recorded. The Customer Agent receives it, and the session's agent profile and environment variables update, asynchronously. `GET /api/v0/support/events` lists the recorded event, when its `type` is requested, as soon as this request returns.\\n\\nSupply `event_id`, together with your own `session_id`, on the first request to make retries safe. Both event endpoints share one set of event ids. A retry with the same `event_id`, the same contents, and the same `session_id` in the same letter case receives `duplicate: true`. For session updated events, omitting a setting is different content from sending it as `null` or `{}`. Reusing an `event_id` for another event type, different contents, or a different `session_id`, including one that differs only in letter case, returns 409. Without `event_id`, every request records a new event and returns `event_id: null`.\",\"operationId\":\"create_session_updated_event_api_v0_support_events_api_session_updated_post\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/SupportSessionUpdatedEventCreateRequest\"},\"examples\":{\"select_agent_profile\":{\"summary\":\"Select an agent profile and set variables\",\"value\":{\"session_id\":\"8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\",\"agent_profile_id\":\"website-support\",\"environment_variables\":{\"USER_EMAIL\":\"jane@example.com\"}}}}}},\"required\":true},\"responses\":{\"202\":{\"description\":\"The recorded event's identifiers.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/SupportEventCreateResponse\"}}}},\"400\":{\"description\":\"The request body could not be decoded, for example because it is not valid UTF-8.\"},\"401\":{\"description\":\"Missing or invalid API key or execution token, or one whose key was deleted or whose token expired.\"},\"403\":{\"description\":\"Your organization does not have Support API access. Contact Parahelp to enable it.\"},\"404\":{\"description\":\"The agent_profile_id does not exactly match a configured API agent profile.\"},\"409\":{\"description\":\"The event_id was already recorded with different contents or a different session_id.\"},\"415\":{\"description\":\"Unsupported Media Type. The `Content-Type` header must be `application/json`.\"},\"422\":{\"description\":\"Request validation error: malformed JSON, unknown or missing fields, an invalid session_id, event_id or agent_profile_id, disallowed characters, non-finite numbers, or an event over the size limit. Session updated events also reject invalid environment-variable names, PARAHELP_SESSION_ID, and names matching organization secrets.\"},\"500\":{\"description\":\"Internal server error. The event may have been recorded; retry with the same event_id and session_id. A request without a session_id cannot be retried this way.\"}},\"security\":[{\"HTTPBearer\":[]}]}},\"/api/v0/support/events\":{\"get\":{\"tags\":[\"Support API\"],\"summary\":\"List Support Events\",\"description\":\"**Beta. This endpoint is only available to organizations with special access. Contact Parahelp to enable it.**\\n\\nList a support session's events in recorded order. Only data events are listed by default. Pass `type` once for each event type to list: `api_data` and `api_session_updated` for the data and session updated events you sent, `support_agent_run_started` and `support_agent_run_finished` for Customer Agent runs, `internal_agent_message_received` for Parahelp agent messages received by the Customer Agent, `member_message_received` for messages a member of your team wrote in the ticket for the Customer Agent to send as written, `tool_called` and `tool_finished` for tool calls and results, `error` for errors, and `session_sync_requested` for requests to process the session again. Events of other types do not count toward pagination.\\n\\nUse it to show a session's conversation. The Customer Agent replies only through your custom tools: a tool can send its reply back as a data event, or return it as its result, which `tool_finished` lists. Show end users only the events you choose: tool events and Parahelp agent messages can contain your agent profile's memory, search results, and internal instructions. Call it from your backend and check the viewer's access there; never put an API key in a browser or mobile app.\\n\\nEach event has `event_id`, `type`, `data`, and `occurred_at`. `data` is a JSON object whose fields depend on `type` and may change. Roughly: `api_data` holds your `payload`; `api_session_updated` the settings you sent; run events a `run_id`, and `support_agent_run_finished` also an `outcome`; `tool_called` and `tool_finished` the `tool_name` and a `tool_call_id` linking them, with the `arguments` or the result `content` and `is_error`; `error` an `error_message`; `internal_agent_message_received` and `member_message_received` the message `content`; `session_sync_requested` a `reset_failures` flag.\\n\\nTool arguments, results, failure text, and a custom tool's `stderr` can contain customer data. Parahelp removes the exact values of your secrets from custom tool output; tools must not output secrets in any other form. Long tool results and `stderr` are truncated.\\n\\nOnly `support_agent_run_finished` marks the end of a run; the run can continue after an error or a failed tool call. A run interrupted by an outage can end without one, so do not wait for it indefinitely. A failure before a run starts is an `error` event with a null `run_id`. A failed tool call is listed as a `tool_finished` event and one or more `error` events. Unexpected failures say 'An internal error occurred. Please contact Parahelp.' Custom tool failures say 'Failed to run custom tool', followed by the tool's output when it returned one. Tool input and configuration errors keep their messages.\\n\\nThe response holds one page of events and a `next_cursor`; send it back unchanged as `cursor`, with the same `session_id` and `type`, to fetch the next page. `next_cursor` is null on the last page, so to check for new events, list the session again from the first page. An unknown session or an unrecognized cursor returns an empty page.\",\"operationId\":\"list_events_api_v0_support_events_get\",\"security\":[{\"HTTPBearer\":[]}],\"parameters\":[{\"name\":\"session_id\",\"in\":\"query\",\"required\":true,\"schema\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":140,\"description\":\"The session whose events to list: your session id or the session_id returned by this API, without surrounding whitespace.\",\"examples\":[\"8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\"],\"title\":\"Session Id\"},\"description\":\"The session whose events to list: your session id or the session_id returned by this API, without surrounding whitespace.\"},{\"name\":\"type\",\"in\":\"query\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/PublicSupportEventType\"},\"description\":\"An event type to list. Repeat it to list several types. Defaults to api_data.\",\"default\":[\"api_data\"],\"title\":\"Type\"},\"description\":\"An event type to list. Repeat it to list several types. Defaults to api_data.\"},{\"name\":\"limit\",\"in\":\"query\",\"required\":false,\"schema\":{\"type\":\"integer\",\"maximum\":200,\"minimum\":1,\"description\":\"Maximum number of events to return per page.\",\"examples\":[100],\"default\":100,\"title\":\"Limit\"},\"description\":\"Maximum number of events to return per page.\"},{\"name\":\"cursor\",\"in\":\"query\",\"required\":false,\"schema\":{\"anyOf\":[{\"type\":\"string\",\"minLength\":1},{\"type\":\"null\"}],\"description\":\"The next_cursor from a previous response, unchanged. Omit to fetch the first page.\",\"examples\":[\"0b7e5f8c-2d4a-4c1b-9e3f-6a8d2c1f7b90\"],\"title\":\"Cursor\"},\"description\":\"The next_cursor from a previous response, unchanged. Omit to fetch the first page.\"}],\"responses\":{\"200\":{\"description\":\"One page of the session's events, in recorded order.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/SupportEventListResponse\"}}}},\"401\":{\"description\":\"Missing or invalid API key or execution token, or one whose key was deleted or whose token expired.\"},\"403\":{\"description\":\"Your organization does not have Support API access. Contact Parahelp to enable it.\"},\"422\":{\"description\":\"Request validation error. The query parameters are invalid.\"},\"500\":{\"description\":\"Internal server error. Events could not be listed.\"}}}},\"/api/v0/support/sessions\":{\"get\":{\"tags\":[\"Support API\"],\"summary\":\"List Support Sessions\",\"description\":\"**Beta. This endpoint is only available to organizations with special access. Contact Parahelp to enable it.**\\n\\nPass `type=api` to list your organization's API sessions with their current agent profile and environment variables, newest first by first event. Only API sessions are listed. A session appears shortly after its first event is accepted, and its state catches up with later events asynchronously. The response holds one page of sessions and a `next_cursor`; send it back unchanged as `cursor` to fetch the next page. `next_cursor` is null on the last page. An unrecognized cursor returns an empty page.\\n\\nPass `environment_variable=NAME:VALUE` to list only the sessions whose current environment variable `NAME` equals `VALUE` exactly, for example a customer's other sessions by `USER_EMAIL`. Keep the same `environment_variable` when following `next_cursor`.\",\"operationId\":\"list_sessions_api_v0_support_sessions_get\",\"security\":[{\"HTTPBearer\":[]}],\"parameters\":[{\"name\":\"type\",\"in\":\"query\",\"required\":true,\"schema\":{\"const\":\"api\",\"type\":\"string\",\"description\":\"Required session type. Currently only api is supported.\",\"title\":\"Type\"},\"description\":\"Required session type. Currently only api is supported.\"},{\"name\":\"environment_variable\",\"in\":\"query\",\"required\":false,\"schema\":{\"anyOf\":[{\"type\":\"string\",\"maxLength\":1e3,\"pattern\":\"^[A-Za-z_][A-Za-z0-9_]*:\"},{\"type\":\"null\"}],\"description\":\"Only sessions whose current environment variable NAME equals VALUE, given as NAME:VALUE and split at the first colon. The match is exact: case-sensitive, the whole value, and a session without NAME never matches. Only API sessions have environment variables. URL-encode the pair, and send a literal + as %2B. A page can hold fewer sessions than limit, or none, while next_cursor is set: keep paging until next_cursor is null. A session matches a new value once the session updated event that set it has been processed, usually within seconds. The lookup reads the newest 2,000,000 characters of each session's events, and at most 100,000 characters of any one event, so a session whose variables were set before that window, or in an event longer than that, is not found.\",\"examples\":[\"USER_EMAIL:jane@example.com\"],\"title\":\"Environment Variable\"},\"description\":\"Only sessions whose current environment variable NAME equals VALUE, given as NAME:VALUE and split at the first colon. The match is exact: case-sensitive, the whole value, and a session without NAME never matches. Only API sessions have environment variables. URL-encode the pair, and send a literal + as %2B. A page can hold fewer sessions than limit, or none, while next_cursor is set: keep paging until next_cursor is null. A session matches a new value once the session updated event that set it has been processed, usually within seconds. The lookup reads the newest 2,000,000 characters of each session's events, and at most 100,000 characters of any one event, so a session whose variables were set before that window, or in an event longer than that, is not found.\"},{\"name\":\"limit\",\"in\":\"query\",\"required\":false,\"schema\":{\"type\":\"integer\",\"maximum\":200,\"minimum\":1,\"description\":\"Maximum number of sessions to return per page.\",\"examples\":[100],\"default\":100,\"title\":\"Limit\"},\"description\":\"Maximum number of sessions to return per page.\"},{\"name\":\"cursor\",\"in\":\"query\",\"required\":false,\"schema\":{\"anyOf\":[{\"type\":\"string\",\"minLength\":1},{\"type\":\"null\"}],\"description\":\"The next_cursor from a previous response, unchanged. Omit to fetch the first page.\",\"examples\":[\"api_session_8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\"],\"title\":\"Cursor\"},\"description\":\"The next_cursor from a previous response, unchanged. Omit to fetch the first page.\"}],\"responses\":{\"200\":{\"description\":\"One page of support sessions, newest first.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/SupportApiSessionListResponse\"}}}},\"401\":{\"description\":\"Missing or invalid API key or execution token, or one whose key was deleted or whose token expired.\"},\"403\":{\"description\":\"Your organization does not have Support API access. Contact Parahelp to enable it.\"},\"422\":{\"description\":\"Request validation error. The query parameters are invalid.\"},\"500\":{\"description\":\"Internal server error. Sessions could not be listed.\"},\"503\":{\"description\":\"Session search is unavailable, so sessions could not be looked up by environment variable. Try again shortly.\"}}}},\"/api/v0/support/agent-profiles\":{\"get\":{\"tags\":[\"Support API\"],\"summary\":\"List Agent Profiles\",\"description\":\"**Beta. This endpoint is only available to organizations with special access. Contact Parahelp to enable it.**\\n\\nList your organization's API agent profiles: the agent profiles that run on sessions from this API. Agent profiles are created through the Parahelp agent; ask it for one that runs on API sessions. Each defines a Customer Agent with its tools and memory. Select one for a session by its `agent_profile_id` with a session updated event. Returns up to 1,000 current API agent profiles in one response, without pagination.\",\"operationId\":\"list_agent_profiles_api_v0_support_agent_profiles_get\",\"responses\":{\"200\":{\"description\":\"Up to 1,000 of the organization's API agent profiles.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/SupportAgentProfileListResponse\"}}}},\"401\":{\"description\":\"Missing or invalid API key or execution token, or one whose key was deleted or whose token expired.\"},\"403\":{\"description\":\"Your organization does not have Support API access. Contact Parahelp to enable it.\"},\"500\":{\"description\":\"Internal server error. Agent profiles could not be listed.\"}},\"security\":[{\"HTTPBearer\":[]}]}}},\"components\":{\"schemas\":{\"JsonValue\":{},\"PublicSupportEventType\":{\"type\":\"string\",\"enum\":[\"api_data\",\"api_session_updated\",\"support_agent_run_started\",\"support_agent_run_finished\",\"error\",\"internal_agent_message_received\",\"member_message_received\",\"tool_called\",\"tool_finished\",\"session_sync_requested\"],\"title\":\"PublicSupportEventType\"},\"SupportAgentProfileListResponse\":{\"properties\":{\"agent_profiles\":{\"items\":{\"$ref\":\"#/components/schemas/SupportAgentProfileResponse\"},\"type\":\"array\",\"maxItems\":1e3,\"title\":\"Agent Profiles\",\"description\":\"Up to 1,000 of the organization's currently configured API agent profiles.\"}},\"additionalProperties\":false,\"type\":\"object\",\"required\":[\"agent_profiles\"],\"title\":\"SupportAgentProfileListResponse\"},\"SupportAgentProfileResponse\":{\"properties\":{\"agent_profile_id\":{\"type\":\"string\",\"title\":\"Agent Profile Id\",\"description\":\"The id to select this agent profile for a session.\",\"examples\":[\"website-support\"]},\"type\":{\"type\":\"string\",\"const\":\"api\",\"title\":\"Type\",\"description\":\"The source the agent profile's sessions come from.\",\"examples\":[\"api\"]},\"agent_name\":{\"type\":\"string\",\"title\":\"Agent Name\",\"description\":\"The name of the Customer Agent the agent profile runs.\",\"examples\":[\"Support Agent\"]},\"description\":{\"type\":\"string\",\"title\":\"Description\",\"description\":\"What the agent profile is for, as configured.\",\"examples\":[\"Handles questions from our website.\"]}},\"additionalProperties\":false,\"type\":\"object\",\"required\":[\"agent_profile_id\",\"type\",\"agent_name\",\"description\"],\"title\":\"SupportAgentProfileResponse\"},\"SupportApiSessionDataResponse\":{\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"api\",\"title\":\"Type\",\"description\":\"The source the session comes from.\",\"examples\":[\"api\"]},\"agent_profile_id\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}],\"title\":\"Agent Profile Id\",\"description\":\"The agent profile last selected for the session, or null when none is selected. It can name an agent profile that was deleted since; the session then runs nothing.\",\"examples\":[\"website-support\",null]},\"environment_variables\":{\"additionalProperties\":{\"type\":\"string\"},\"type\":\"object\",\"title\":\"Environment Variables\",\"description\":\"The environment variables last set for the session, {} when none are set. The Customer Agent sees them, and its custom tools receive them as environment variables of the same names.\",\"examples\":[{\"USER_EMAIL\":\"jane@example.com\"}]}},\"additionalProperties\":false,\"type\":\"object\",\"required\":[\"type\",\"agent_profile_id\",\"environment_variables\"],\"title\":\"SupportApiSessionDataResponse\"},\"SupportApiSessionListResponse\":{\"properties\":{\"sessions\":{\"items\":{\"$ref\":\"#/components/schemas/SupportApiSessionResponse\"},\"type\":\"array\",\"title\":\"Sessions\",\"description\":\"One page of API support sessions, newest first.\"},\"next_cursor\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}],\"title\":\"Next Cursor\",\"description\":\"Opaque cursor to send as the cursor query parameter to fetch the next page. Null when there are no more sessions.\"}},\"additionalProperties\":false,\"type\":\"object\",\"required\":[\"sessions\",\"next_cursor\"],\"title\":\"SupportApiSessionListResponse\"},\"SupportApiSessionResponse\":{\"properties\":{\"session_id\":{\"type\":\"string\",\"title\":\"Session Id\",\"description\":\"The session id: the same id the /api/v0/support/events endpoints take and return.\",\"examples\":[\"api_session_8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\"]},\"session_data\":{\"$ref\":\"#/components/schemas/SupportApiSessionDataResponse\",\"description\":\"The session's selected agent profile and environment variables.\"},\"first_event_occurred_at\":{\"type\":\"string\",\"format\":\"date-time\",\"title\":\"First Event Occurred At\",\"description\":\"When Parahelp recorded the session's earliest event; the listing's order key, newest first.\",\"example\":\"2026-06-26T12:30:00Z\"},\"latest_event_occurred_at\":{\"type\":\"string\",\"format\":\"date-time\",\"title\":\"Latest Event Occurred At\",\"description\":\"When Parahelp recorded the session's latest event, including internal events that GET /api/v0/support/events does not list. Updates asynchronously.\",\"example\":\"2026-06-26T12:30:00Z\"}},\"additionalProperties\":false,\"type\":\"object\",\"required\":[\"session_id\",\"session_data\",\"first_event_occurred_at\",\"latest_event_occurred_at\"],\"title\":\"SupportApiSessionResponse\"},\"SupportDataEventCreateRequest\":{\"properties\":{\"session_id\":{\"anyOf\":[{\"type\":\"string\",\"maxLength\":140},{\"type\":\"null\"}],\"title\":\"Session Id\",\"description\":\"Your id for the session, typically a UUID you generate, at most 128 characters. Send the same id with every event of the session; the first event creates the session. Your ids receive an api_session_ prefix, which does not count toward the limit; ids that already start with the lowercase api_session_ or api_generated_session_, such as a session_id returned by this API, are used as given. Omit this field or send null to start a new session with a generated id, returned in the response. Ids may contain only lowercase ASCII letters, digits, '.', '_', ':' and '-'; surrounding whitespace is ignored. An uppercase letter returns 422, because ids that differ only by case would name the same session: map case-sensitive ids of your own to distinct lowercase ones.\",\"examples\":[\"8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\"]},\"event_id\":{\"anyOf\":[{\"type\":\"string\",\"maxLength\":138,\"minLength\":1},{\"type\":\"null\"}],\"title\":\"Event Id\",\"description\":\"Your id for the event, at most 128 characters, unique among your organization's API events. Your ids receive an api_event_ prefix, which does not count toward the limit; values that already start with api_event_ are used as given. Supply it on the first request to make retries safe: a retry with the same event_id, session_id and contents returns duplicate: true, and reusing it with different contents or a different session_id returns 409. Omit it or send null to record a new event, without an external id, on every request. Ids may contain only lowercase ASCII letters, digits, '.', '_', ':' and '-'; surrounding whitespace is ignored. An uppercase letter returns 422, because ids that differ only by case would name the same event.\",\"examples\":[\"order-1042-created\"]},\"payload\":{\"$ref\":\"#/components/schemas/JsonValue\",\"description\":\"What happened, as any JSON value: an object, array, string, number, boolean or null. The Customer Agent sees this JSON value. A data event asks the Customer Agent to run when the session has an agent profile; new sessions have none.\",\"examples\":[{\"message\":\"My order has not arrived.\",\"type\":\"customer_message\",\"user_email\":\"jane@example.com\"}]}},\"additionalProperties\":false,\"type\":\"object\",\"required\":[\"payload\"],\"title\":\"SupportDataEventCreateRequest\"},\"SupportEventCreateResponse\":{\"properties\":{\"stored\":{\"type\":\"boolean\",\"const\":true,\"title\":\"Stored\",\"description\":\"The event is recorded.\"},\"event_id\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}],\"title\":\"Event Id\",\"description\":\"Your event_id as stored, with its api_event_ prefix, when you supplied one; otherwise null.\",\"examples\":[\"api_event_order-1042-created\"]},\"duplicate\":{\"type\":\"boolean\",\"title\":\"Duplicate\",\"description\":\"True when this event_id was already recorded with the same session_id and contents; nothing new was recorded.\"},\"session_id\":{\"type\":\"string\",\"title\":\"Session Id\",\"description\":\"The session the event was recorded for. Send it as session_id with the session's later events, and use it to read the session's events.\",\"examples\":[\"api_session_8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\"]}},\"additionalProperties\":false,\"type\":\"object\",\"required\":[\"stored\",\"event_id\",\"duplicate\",\"session_id\"],\"title\":\"SupportEventCreateResponse\"},\"SupportEventListResponse\":{\"properties\":{\"events\":{\"items\":{\"$ref\":\"#/components/schemas/SupportEventResponse\"},\"type\":\"array\",\"title\":\"Events\",\"description\":\"One page of public events, in recorded order.\"},\"next_cursor\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}],\"title\":\"Next Cursor\",\"description\":\"Pass as cursor for the next page; null when there are no more events.\"}},\"additionalProperties\":false,\"type\":\"object\",\"required\":[\"events\",\"next_cursor\"],\"title\":\"SupportEventListResponse\"},\"SupportEventResponse\":{\"properties\":{\"event_id\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}],\"title\":\"Event Id\",\"description\":\"Your event_id, with its api_event_ prefix, for an event you sent with one; an id Parahelp assigned for a Parahelp agent message; otherwise null.\",\"examples\":[\"api_event_order-1042-created\"]},\"type\":{\"type\":\"string\",\"title\":\"Type\"},\"data\":{\"additionalProperties\":true,\"type\":\"object\",\"title\":\"Data\"},\"occurred_at\":{\"type\":\"string\",\"format\":\"date-time\",\"title\":\"Occurred At\",\"description\":\"When Parahelp recorded the event. Events are listed in recording order, which can differ slightly from this time.\"}},\"additionalProperties\":false,\"type\":\"object\",\"required\":[\"event_id\",\"type\",\"data\",\"occurred_at\"],\"title\":\"SupportEventResponse\"},\"SupportSessionUpdatedEventCreateRequest\":{\"properties\":{\"agent_profile_id\":{\"anyOf\":[{\"type\":\"string\",\"maxLength\":128,\"minLength\":1},{\"type\":\"null\"}],\"title\":\"Agent Profile Id\",\"description\":\"The agent profile to select, matching a configured API agent profile id exactly, or null to remove the session's agent profile so its events no longer run the Customer Agent. Omit to keep the current one. An active run keeps its captured inputs.\",\"examples\":[\"website-support\",null]},\"environment_variables\":{\"additionalProperties\":{\"type\":\"string\"},\"type\":\"object\",\"title\":\"Environment Variables\",\"description\":\"All names and values are visible to the Customer Agent and stored in session event history. Do not include passwords, API keys, access tokens, or other secrets; give custom tools secrets as Parahelp secrets. Use them for values your custom tools need that the Customer Agent should not supply, such as the customer's email. Updating or clearing variables does not erase earlier values from event history. Replaces all of the session's environment variables; {} removes them all. Omit to keep them. Null is invalid. Later runs and their custom tools receive the resulting map; an active run keeps its values. Names use letters, digits and underscores and do not start with a digit. Names matching existing organization secrets, including connected integration secrets, are rejected with 422 before storing the event; matching is case-sensitive. PARAHELP_SESSION_ID is rejected too: custom tools receive the session's ID under that name.\",\"examples\":[{\"USER_EMAIL\":\"jane@example.com\"}]},\"session_id\":{\"anyOf\":[{\"type\":\"string\",\"maxLength\":140},{\"type\":\"null\"}],\"title\":\"Session Id\",\"description\":\"Your id for the session, typically a UUID you generate, at most 128 characters. Send the same id with every event of the session; the first event creates the session. Your ids receive an api_session_ prefix, which does not count toward the limit; ids that already start with the lowercase api_session_ or api_generated_session_, such as a session_id returned by this API, are used as given. Omit this field or send null to start a new session with a generated id, returned in the response. Ids may contain only lowercase ASCII letters, digits, '.', '_', ':' and '-'; surrounding whitespace is ignored. An uppercase letter returns 422, because ids that differ only by case would name the same session: map case-sensitive ids of your own to distinct lowercase ones.\",\"examples\":[\"8e2d7a36-3a1c-4a6e-9f21-9d1b8c5e4f10\"]},\"event_id\":{\"anyOf\":[{\"type\":\"string\",\"maxLength\":138,\"minLength\":1},{\"type\":\"null\"}],\"title\":\"Event Id\",\"description\":\"Your id for the event, at most 128 characters, unique among your organization's API events. Your ids receive an api_event_ prefix, which does not count toward the limit; values that already start with api_event_ are used as given. Supply it on the first request to make retries safe: a retry with the same event_id, session_id and contents returns duplicate: true, and reusing it with different contents or a different session_id returns 409. Omit it or send null to record a new event, without an external id, on every request. Ids may contain only lowercase ASCII letters, digits, '.', '_', ':' and '-'; surrounding whitespace is ignored. An uppercase letter returns 422, because ids that differ only by case would name the same event.\",\"examples\":[\"order-1042-created\"]}},\"additionalProperties\":false,\"type\":\"object\",\"title\":\"SupportSessionUpdatedEventCreateRequest\"}},\"securitySchemes\":{\"HTTPBearer\":{\"type\":\"http\",\"scheme\":\"bearer\"}}}};// ---------------------------------------------------------------- reading the spec\n/**\n * The docs say \"Parahelp\" and \"customer agent\". The spec still says\n * \"the Parahelp agent\" and \"Customer Agent\", so its text is shown in the docs' words.\n */function docsWording(text){return text.replace(/\\b(?:the )?Parahelp agent\\b/g,\"Parahelp\").replace(/\\bCustomer Agent\\b/g,\"customer agent\").replace(/(\\w)'(?=\\w)/g,\"$1’\");}function sentenceCase(text){return text.split(\" \").map((word,index)=>index===0||KEEP_CASE.has(word)?word:word.toLowerCase()).join(\" \");}function resolve(spec,schema){let current=schema??{};for(let hops=0;hops<8&&typeof current.$ref===\"string\";hops++){const name=current.$ref.split(\"/\").pop()??\"\";current=spec.components?.schemas?.[name]??{};}return current;}function withoutNull(schema){const variants=schema.anyOf??schema.oneOf??[];return variants.filter(variant=>variant.type!==\"null\");}function typeLabel(spec,schema){if(!schema)return\"any JSON\";const variants=schema.anyOf??schema.oneOf;if(variants){const labels=variants.map(variant=>typeLabel(spec,variant));return Array.from(new Set(labels)).join(\" or \");}const target=resolve(spec,schema);if(target.enum)return typeof target.enum[0]===\"number\"?\"number\":\"string\";if(target.type===\"array\"){const item=typeLabel(spec,target.items);return`array of ${item===\"any JSON\"?\"JSON values\":`${item}s`}`;}if(target.type===\"string\"&&target.format===\"date-time\"){return\"date-time string\";}if(typeof target.type===\"string\")return target.type;if(target.properties)return\"object\";return\"any JSON\";}function fieldNotes(spec,schema){const notes=[];const target=withoutNull(schema)[0]??resolve(spec,schema);if(target.const!==undefined)notes.push(`always ${String(target.const)}`);const fallback=schema.default??target.default;if(fallback!==undefined&&fallback!==null){const shown=Array.isArray(fallback)?fallback.join(\", \"):String(fallback);if(shown)notes.push(`default ${shown}`);}if(typeof target.minimum===\"number\"&&typeof target.maximum===\"number\"){notes.push(`${target.minimum} to ${target.maximum}`);}else if(typeof target.maximum===\"number\"){notes.push(`up to ${target.maximum}`);}if(typeof target.maxLength===\"number\"){notes.push(`up to ${target.maxLength} characters`);}return notes;}function fieldOptions(spec,schema){const target=resolve(spec,schema);const item=target.type===\"array\"?resolve(spec,target.items):target;return Array.isArray(item.enum)?item.enum.map(String):[];}function childFields(spec,schema,depth){if(!schema||depth>MAX_DEPTH)return[];let target=resolve(spec,withoutNull(schema)[0]??schema);if(target.type===\"array\")target=resolve(spec,target.items);const properties=target.properties;if(!properties)return[];const required=target.required??[];return Object.keys(properties).map(name=>toField(spec,name,properties[name],required.includes(name),depth));}function toField(spec,name,schema,required,depth,description){const target=resolve(spec,schema);return{name,type:typeLabel(spec,schema),required,notes:fieldNotes(spec,schema),description:description??schema.description??target.description??\"\",options:fieldOptions(spec,schema),children:childFields(spec,schema,depth+1)};}function exampleValue(schema){if(!schema)return undefined;if(Array.isArray(schema.examples)&&schema.examples.length>0){return schema.examples[0];}if(schema.example!==undefined)return schema.example;if(schema.const!==undefined)return schema.const;return undefined;}function slugify(text){return text.toLowerCase().replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\");}/** Splits a text into sentences. A full stop inside inline code does not end one. */function sentences(text){const flat=text.replace(/\\s+/g,\" \").trim();const out=[];const boundary=/[.!?]\\s+(?=[A-Z`“\"'(*])/g;let start=0;let match;while(match=boundary.exec(flat)){const end=match.index+1;const ticks=flat.slice(0,end).split(\"`\").length-1;const stars=flat.slice(0,end).split(\"**\").length-1;if(ticks%2===1||stars%2===1)continue;out.push(flat.slice(start,end));start=end+match[0].length-1;}if(start<flat.length)out.push(flat.slice(start));return out;}/**\n * The first sentences of a text, up to a length, and the rest of it.\n * The rest is empty when the text is short enough to show whole.\n */function leadSentences(text,limit){const flat=text.replace(/\\s+/g,\" \").trim();if(flat.length<=limit)return[flat,\"\"];const parts=sentences(flat);if(parts.length<2)return[flat,\"\"];let lead=parts[0];let index=1;while(index<parts.length-1&&lead.length+1+parts[index].length<=limit){lead+=` ${parts[index++]}`;}return[lead,parts.slice(index).join(\" \")];}function curl(method,url,body,query=[]){const target=/^[\\w\\-.:/]+$/.test(url)?url:`\"${url}\"`;const lines=[];if(query.length>0){// curl adds these to the URL, so the line with the URL stays short.\nlines.push(`curl -G ${target}`);query.forEach(([name,value])=>{lines.push(`  --data-urlencode \"${name}=${value.replace(/([\"$`\\\\])/g,\"\\\\$1\")}\"`);});}else if(method===\"GET\"){lines.push(`curl ${target}`);}else if(`curl -X ${method} ${target}`.length<=CURL_LINE){lines.push(`curl -X ${method} ${target}`);}else{lines.push(`curl -X ${method}`,`  ${target}`);}lines.push('  -H \"Authorization: Bearer $PARAHELP_API_KEY\"');if(body!==undefined){lines.push('  -H \"Content-Type: application/json\"');const json=JSON.stringify(body,null,2).replace(/'/g,\"'\\\\''\").split(\"\\n\").map((line,index)=>index===0?line:`  ${line}`).join(\"\\n\");lines.push(`  -d '${json}'`);}return lines.join(\" \\\\\\n\");}function toEndpoints(spec){const base=(spec.servers?.[0]?.url??\"https://external-api.parahelp.com\").replace(/\\/$/,\"\");const endpoints=[];Object.keys(spec.paths??{}).forEach(path=>{METHODS.forEach(verb=>{const operation=spec.paths[path]?.[verb];if(!operation)return;const method=verb.toUpperCase();const raw=operation.description??\"\";const betaLine=/^\\s*\\*\\*Beta\\b[^*]*\\*\\*\\s*/;const parameters=PARAMETER_GROUPS.map(group=>({title:group.title,fields:(operation.parameters??[]).filter(parameter=>parameter.in===group.location).map(parameter=>toField(spec,String(parameter.name),parameter.schema??{},Boolean(parameter.required),1,parameter.description??parameter.schema?.description??\"\"))})).filter(group=>group.fields.length>0);const content=operation.requestBody?.content?.[\"application/json\"];const body=content?childFields(spec,content.schema,1):[];const examples=[];if(content){const named=content.examples??{};Object.keys(named).forEach(name=>{examples.push({label:named[name].summary??name,code:curl(method,base+path,named[name].value)});});if(examples.length===0&&content.example!==undefined){examples.push({label:\"Example\",code:curl(method,base+path,content.example)});}}if(examples.length===0){const query=[];(operation.parameters??[]).forEach(parameter=>{if(parameter.in!==\"query\"||!parameter.required)return;const value=exampleValue(parameter.schema)??parameter.example;if(value!==undefined)query.push([String(parameter.name),String(value)]);});examples.push({label:\"Example\",code:curl(method,base+path,content?{}:undefined,query)});}const responses=Object.keys(operation.responses??{}).sort().map(status=>{const response=operation.responses?.[status]??{};const schema=response.content?.[\"application/json\"]?.schema;return{status,description:response.description??\"\",fields:status.startsWith(\"2\")?childFields(spec,schema,1):[]};});const title=sentenceCase(operation.summary??`${method} ${path}`);const paragraphs=raw.replace(betaLine,\"\").split(/\\n\\s*\\n/).map(paragraph=>paragraph.trim()).filter(Boolean);const notices=[];while(paragraphs.length>1&&paragraphs[0].startsWith(\"**\")){notices.push(paragraphs.shift());}const first=paragraphs[0]??\"\";const isList=first.split(\"\\n\").every(line=>/^[-*] /.test(line.trim()));const[summary,rest]=isList?[\"\",first]:leadSentences(first,SUMMARY_LENGTH);let id=slugify(title)||slugify(`${method} ${path}`);for(let count=2;endpoints.some(endpoint=>endpoint.id===id);count++){id=`${slugify(title)}-${count}`;}endpoints.push({key:`${method} ${path}`,id,title,method,path,beta:betaLine.test(raw),notices,summary,details:[rest,...paragraphs.slice(1)].filter(Boolean).join(\"\\n\\n\"),parameters,body,examples,responses});});});return endpoints;}// ---------------------------------------------------------------- text\nfunction inlineText(text,keyPrefix){const nodes=[];text.split(/(\\*\\*[\\s\\S]+?\\*\\*)/g).forEach((chunk,chunkIndex)=>{const bold=chunk.startsWith(\"**\")&&chunk.endsWith(\"**\")&&chunk.length>4;const inner=bold?chunk.slice(2,-2):chunk;const parts=inner.split(/(`[^`]+`)/g).map((part,partIndex)=>{const key=`${keyPrefix}-${chunkIndex}-${partIndex}`;if(part.startsWith(\"`\")&&part.endsWith(\"`\")&&part.length>2){return /*#__PURE__*/_jsx(\"code\",{style:inlineCodeStyle,children:part.slice(1,-1)},key);}return /*#__PURE__*/_jsx(Fragment,{children:docsWording(part)},key);});nodes.push(bold?/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:600},children:parts},`${keyPrefix}-${chunkIndex}`):/*#__PURE__*/_jsx(Fragment,{children:parts},`${keyPrefix}-${chunkIndex}`));});return nodes;}function Prose({text,size=16}){const blocks=text.split(/\\n\\s*\\n/).map(block=>block.trim()).filter(Boolean);return /*#__PURE__*/_jsx(_Fragment,{children:blocks.map((block,index)=>{const lines=block.split(\"\\n\");const isList=lines.every(line=>/^[-*] /.test(line.trim()));if(isList){return /*#__PURE__*/_jsx(\"ul\",{style:{...proseStyle(size),paddingLeft:22},children:lines.map((line,lineIndex)=>/*#__PURE__*/_jsx(\"li\",{style:{margin:\"6px 0 0\"},children:inlineText(line.trim().slice(2),`${index}-${lineIndex}`)},lineIndex))},index);}return /*#__PURE__*/_jsx(\"p\",{style:proseStyle(size),children:inlineText(lines.join(\" \"),String(index))},index);})});}function proseStyle(size){return{margin:size===16?\"20px 0 0\":\"4px 0 0\",fontFamily:BODY_FONT,fontSize:size,lineHeight:\"150%\",letterSpacing:\"-0.01em\",color:TEXT,overflowWrap:\"anywhere\"};}const inlineCodeStyle={fontFamily:MONO,fontSize:\"0.85em\",padding:\"0.1em 0.35em\",borderRadius:6,backgroundColor:\"rgba(0, 0, 0, 0.1)\",overflowWrap:\"anywhere\"};// ---------------------------------------------------------------- pieces\nasync function copyText(text){try{await navigator.clipboard.writeText(text);return true;}catch{const field=document.createElement(\"textarea\");field.value=text;field.setAttribute(\"readonly\",\"\");field.style.position=\"fixed\";field.style.opacity=\"0\";document.body.appendChild(field);field.select();let copied=false;try{copied=document.execCommand(\"copy\");}catch{copied=false;}document.body.removeChild(field);return copied;}}function CopyButton({text,label}){const isCanvas=RenderTarget.current()!==RenderTarget.preview;const[copied,setCopied]=useState(false);const[hovered,setHovered]=useState(false);const timerRef=useRef(0);useEffect(()=>()=>window.clearTimeout(timerRef.current),[]);const onClick=async()=>{if(isCanvas)return;const done=await copyText(text);if(!done)return;setCopied(true);window.clearTimeout(timerRef.current);timerRef.current=window.setTimeout(()=>setCopied(false),2e3);};return /*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:onClick,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),\"aria-label\":copied?\"Copied\":label,title:copied?\"Copied\":label,style:{appearance:\"none\",WebkitAppearance:\"none\",flexShrink:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:32,height:32,margin:0,padding:0,border:0,borderRadius:8,backgroundColor:hovered?SURFACE_HOVER:\"rgba(0, 0, 0, 0)\",color:hovered||copied?TEXT:TEXT_SECONDARY,cursor:\"pointer\",transition:`color 0.2s ${EASE}, background-color 0.2s ${EASE}`},children:/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.75\",strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",children:copied?/*#__PURE__*/_jsx(\"path\",{d:\"M20 6 9 17l-5-5\"}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{width:\"14\",height:\"14\",x:\"8\",y:\"8\",rx:\"2\",ry:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"})]})})});}function Tag({children}){return /*#__PURE__*/_jsx(\"span\",{style:{flexShrink:0,padding:\"1px 8px\",borderRadius:999,border:`1px solid ${BORDER}`,fontFamily:BODY_FONT,fontSize:12,lineHeight:\"150%\",color:TEXT_SECONDARY,whiteSpace:\"nowrap\"},children:children});}/** Phosphor's caret down, which the website uses. It turns up when what it opens is showing. */function Caret({open}){return /*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 256 256\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"20\",strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",style:{flexShrink:0,transform:open?\"rotate(180deg)\":\"none\",transition:`transform 0.2s ${EASE}`},children:/*#__PURE__*/_jsx(\"polyline\",{points:\"208 96 128 176 48 96\"})});}/** A small text button that shows or hides the part after it. \"Copy page\" leaves the button out. */function Toggle(props){const[hovered,setHovered]=useState(false);return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"data-copy-skip\":\"\",\"aria-expanded\":props.open,onClick:props.onToggle,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),style:{appearance:\"none\",WebkitAppearance:\"none\",display:\"inline-flex\",alignItems:\"center\",gap:4,margin:0,padding:0,border:0,background:\"none\",fontFamily:BODY_FONT,fontSize:14,lineHeight:\"150%\",letterSpacing:\"-0.01em\",color:hovered?TEXT:TEXT_SECONDARY,whiteSpace:\"nowrap\",verticalAlign:\"baseline\",cursor:\"pointer\",transition:`color 0.2s ${EASE}`},children:[props.open?props.hide:props.show,/*#__PURE__*/_jsx(Caret,{open:props.open})]});}/**\n * The description of a field: its first sentences, and the rest behind \"More\".\n * The rest stays in the page while it is hidden, so \"Copy page\" copies all of it.\n */function FieldText({text}){const[open,setOpen]=useState(false);const[lead,rest]=leadSentences(text,FIELD_LENGTH);if(!rest)return /*#__PURE__*/_jsx(Prose,{text:text,size:15});return /*#__PURE__*/_jsxs(\"p\",{style:proseStyle(15),children:[inlineText(lead,\"lead\"),\" \",/*#__PURE__*/_jsxs(\"span\",{hidden:!open,children:[inlineText(rest,\"rest\"),\" \"]}),/*#__PURE__*/_jsx(Toggle,{open:open,onToggle:()=>setOpen(!open),show:\"More\",hide:\"Less\"})]});}function FieldList(props){const{fields,mono,nested,hidden}=props;if(fields.length===0)return null;return /*#__PURE__*/_jsx(\"ul\",{hidden:hidden,style:{listStyle:\"none\",margin:\"12px 0 0\",padding:nested?\"0 0 0 16px\":0,borderLeft:nested?`1px solid ${BORDER}`:undefined},children:fields.map((field,index)=>/*#__PURE__*/_jsxs(\"li\",{style:{margin:0,padding:nested?`${index===0?0:12}px 0 0`:\"12px 0\",borderTop:nested?undefined:`1px solid ${BORDER}`},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"center\",columnGap:8,rowGap:2},children:[/*#__PURE__*/_jsx(\"code\",{style:{fontFamily:mono,fontSize:14,lineHeight:\"150%\",fontWeight:500,color:TEXT,overflowWrap:\"anywhere\"},children:field.name}),\" \",/*#__PURE__*/_jsx(\"span\",{style:metaStyle,children:[field.type,...field.notes].join(\" \\xb7 \")}),\" \",field.required&&/*#__PURE__*/_jsx(Tag,{children:\"required\"})]}),\" \",field.description&&/*#__PURE__*/_jsx(FieldText,{text:field.description}),\" \",field.options.length>0&&/*#__PURE__*/_jsxs(\"p\",{style:{...proseStyle(15),color:TEXT_SECONDARY},children:[\"One of\",\" \",field.options.map((option,optionIndex)=>/*#__PURE__*/_jsxs(Fragment,{children:[optionIndex>0&&\", \",/*#__PURE__*/_jsx(\"code\",{style:{...inlineCodeStyle,color:TEXT},children:option})]},option))]}),/*#__PURE__*/_jsx(FieldList,{fields:field.children,mono:mono,nested:true})]},field.name))});}const metaStyle={fontFamily:BODY_FONT,fontSize:13,lineHeight:\"150%\",color:TEXT_SECONDARY};/**\n * The example requests of an endpoint in one block: their names as tabs and the\n * copy button in its header, the request below. It comes right after the summary.\n * The requests behind the other tabs stay in the page, so \"Copy page\" copies all of them.\n */function Examples({examples,mono}){const[selected,setSelected]=useState(0);const current=examples[Math.min(selected,examples.length-1)];if(!current)return null;return /*#__PURE__*/_jsxs(\"div\",{style:{margin:\"20px 0 0\",borderRadius:12,backgroundColor:SURFACE},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:12,boxSizing:\"border-box\",minHeight:44,padding:\"6px 6px 6px 16px\",borderBottom:`1px solid ${BORDER}`},children:[examples.length>1?/*#__PURE__*/_jsx(\"div\",{role:\"tablist\",\"aria-label\":\"Examples\",\"data-copy-skip\":\"\",style:{display:\"flex\",flexWrap:\"wrap\",gap:\"2px 16px\",flex:1,minWidth:0},children:examples.map((example,index)=>/*#__PURE__*/_jsx(ExampleTab,{label:example.label,selected:index===selected,onSelect:()=>setSelected(index)},example.label))}):/*#__PURE__*/_jsx(\"span\",{\"data-copy-skip\":\"\",style:{...tabStyle,flex:1,minWidth:0,color:TEXT_SECONDARY},children:current.label===\"Example\"?\"Example request\":current.label}),/*#__PURE__*/_jsx(CopyButton,{text:current.code,label:\"Copy\"})]}),examples.map((example,index)=>/*#__PURE__*/_jsxs(\"div\",{hidden:example!==current,children:[examples.length>1&&/*#__PURE__*/_jsx(\"p\",{hidden:true,children:example.label}),/*#__PURE__*/_jsx(\"pre\",{\"data-language\":\"bash\",style:{margin:0,padding:`16px ${docsCodeText.side}`,border:0,background:\"none\",fontFamily:mono,fontSize:docsCodeText.size(14),lineHeight:\"1.5em\",color:TEXT,whiteSpace:\"pre-wrap\",overflowWrap:\"anywhere\",tabSize:2},children:/*#__PURE__*/_jsx(\"code\",{style:{font:\"inherit\",color:\"inherit\"},children:docsCodeText.lines(example.code)})})]},example.label))]});}const tabStyle={fontFamily:BODY_FONT,fontSize:14,lineHeight:\"150%\",letterSpacing:\"-0.01em\"};function ExampleTab(props){const[hovered,setHovered]=useState(false);return /*#__PURE__*/_jsx(\"button\",{type:\"button\",role:\"tab\",\"aria-selected\":props.selected,onClick:props.onSelect,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),style:{...tabStyle,appearance:\"none\",WebkitAppearance:\"none\",margin:0,padding:\"2px 0\",border:0,background:\"none\",boxShadow:props.selected?`inset 0 -1px 0 ${TEXT}`:\"none\",fontWeight:props.selected?500:400,color:props.selected||hovered?TEXT:TEXT_SECONDARY,cursor:\"pointer\",transition:`color 0.2s ${EASE}`},children:props.label});}function SubHeading({children}){return /*#__PURE__*/_jsx(\"h4\",{style:{margin:\"32px 0 0\",fontFamily:BODY_FONT,fontSize:16,lineHeight:\"150%\",letterSpacing:\"-0.01em\",fontWeight:500,color:TEXT},children:children});}function MethodTag({method,mono}){const colors=METHOD_COLORS[method]??METHOD_COLORS.GET;return /*#__PURE__*/_jsx(\"span\",{style:{flexShrink:0,padding:\"1px 8px\",borderRadius:6,backgroundColor:colors.fill,color:colors.text,fontFamily:mono,fontSize:12,lineHeight:\"150%\",fontWeight:500},children:method});}function scrollToEndpoint(event,id){if(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey||event.button!==0)return;const target=document.getElementById(id);if(!target)return;event.preventDefault();target.scrollIntoView({behavior:\"smooth\",block:\"start\"});window.history.replaceState(window.history.state,\"\",`#${id}`);}/** Every endpoint on one line each, so the whole API shows at a glance. A line goes to its endpoint. */function EndpointList({endpoints,mono}){const[hovered,setHovered]=useState(null);if(endpoints.length<2)return null;return /*#__PURE__*/_jsx(\"ul\",{\"aria-label\":\"Endpoints\",style:{listStyle:\"none\",margin:\"24px 0 0\",padding:4,borderRadius:12,border:`1px solid ${BORDER}`},children:endpoints.map(endpoint=>/*#__PURE__*/_jsx(\"li\",{style:{margin:0,padding:0},children:/*#__PURE__*/_jsxs(\"a\",{href:`#${endpoint.id}`,onClick:event=>scrollToEndpoint(event,endpoint.id),onMouseEnter:()=>setHovered(endpoint.key),onMouseLeave:()=>setHovered(null),style:{display:\"grid\",gridTemplateColumns:\"52px minmax(0, 1fr)\",alignItems:\"start\",columnGap:10,padding:\"8px 10px\",borderRadius:8,backgroundColor:hovered===endpoint.key?SURFACE:\"rgba(0, 0, 0, 0)\",color:TEXT,textDecoration:\"none\",transition:`background-color 0.2s ${EASE}`},children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",paddingTop:1},children:/*#__PURE__*/_jsx(MethodTag,{method:endpoint.method,mono:mono})}),\" \",/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"baseline\",columnGap:16,rowGap:2,minWidth:0},children:[/*#__PURE__*/_jsx(\"code\",{style:{flex:\"1 1 auto\",minWidth:0,fontFamily:mono,fontSize:14,lineHeight:\"150%\",color:TEXT,overflowWrap:\"anywhere\"},children:docsCodeText.path(endpoint.path)}),\" \",/*#__PURE__*/_jsx(\"span\",{style:{...metaStyle,fontSize:14},children:endpoint.title})]})]})},endpoint.key))});}/** The rest of an endpoint's description, behind \"Show details\". */function Details({text}){const[open,setOpen]=useState(false);if(!text)return null;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{margin:\"8px 0 0\"},children:/*#__PURE__*/_jsx(Toggle,{open:open,onToggle:()=>setOpen(!open),show:\"Show details\",hide:\"Hide details\"})}),/*#__PURE__*/_jsx(\"div\",{hidden:!open,children:/*#__PURE__*/_jsx(Prose,{text:text})})]});}function StatusRow(props){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"baseline\",gap:12},children:[/*#__PURE__*/_jsx(\"code\",{style:{flexShrink:0,fontFamily:props.mono,fontSize:14,lineHeight:\"150%\",fontWeight:500,color:TEXT},children:props.status}),\" \",/*#__PURE__*/_jsxs(\"span\",{style:{...proseStyle(15),margin:0,flex:1,minWidth:0},children:[inlineText(props.description,props.status),props.children]})]});}/**\n * The responses of an endpoint. The successful one shows first, with its fields behind\n * \"Show fields\". The errors share one line, and open into a list.\n */function Responses({responses,mono}){const[openFields,setOpenFields]=useState(null);const[openErrors,setOpenErrors]=useState(false);const successes=responses.filter(response=>response.status.startsWith(\"2\"));const errors=responses.filter(response=>!response.status.startsWith(\"2\"));const rowStyle={margin:0,padding:\"12px 0\",borderTop:`1px solid ${BORDER}`};return /*#__PURE__*/_jsxs(\"ul\",{style:{listStyle:\"none\",margin:\"12px 0 0\",padding:0},children:[successes.map(response=>/*#__PURE__*/_jsxs(\"li\",{style:rowStyle,children:[/*#__PURE__*/_jsx(StatusRow,{status:response.status,description:response.description,mono:mono,children:response.fields.length>0&&/*#__PURE__*/_jsxs(_Fragment,{children:[\" \",/*#__PURE__*/_jsx(Toggle,{open:openFields===response.status,onToggle:()=>setOpenFields(openFields===response.status?null:response.status),show:\"Show fields\",hide:\"Hide fields\"})]})}),/*#__PURE__*/_jsx(FieldList,{fields:response.fields,mono:mono,nested:true,hidden:openFields!==response.status})]},response.status)),errors.length>0&&/*#__PURE__*/_jsxs(\"li\",{style:rowStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"baseline\",gap:\"2px 12px\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...proseStyle(15),margin:0},children:\"Errors\"}),\" \",/*#__PURE__*/_jsx(\"code\",{\"data-copy-skip\":\"\",style:{fontFamily:mono,fontSize:14,lineHeight:\"150%\",color:TEXT_SECONDARY},children:errors.map(response=>response.status).join(\" \")}),\" \",/*#__PURE__*/_jsx(Toggle,{open:openErrors,onToggle:()=>setOpenErrors(!openErrors),show:\"Show errors\",hide:\"Hide errors\"})]}),/*#__PURE__*/_jsx(\"ul\",{hidden:!openErrors,style:{listStyle:\"none\",margin:0,padding:0},children:errors.map(response=>/*#__PURE__*/_jsx(\"li\",{style:{margin:\"12px 0 0\",padding:0},children:/*#__PURE__*/_jsx(StatusRow,{status:response.status,description:response.description,mono:mono})},response.status))})]})]});}/** A warning the spec puts before everything else, shown like a callout of the docs. */function Notice({text}){return /*#__PURE__*/_jsx(\"div\",{style:{margin:\"20px 0 0\",padding:\"16px 20px\",borderRadius:12,backgroundColor:SURFACE},children:/*#__PURE__*/_jsx(\"p\",{style:{...proseStyle(16),margin:0},children:inlineText(text.replace(/\\s*\\n\\s*/g,\" \"),\"notice\")})});}function EndpointSection(props){const{endpoint,base,mono,heading}=props;return /*#__PURE__*/_jsxs(\"section\",{style:{margin:\"40px 0 0\",padding:\"40px 0 0\",borderTop:`1px solid ${BORDER}`},children:[/*#__PURE__*/_jsx(\"h3\",{id:endpoint.id,\"data-toc\":\"\",style:{fontFamily:HEADING_FONT,fontWeight:550,...heading,margin:0,fontSize:20,lineHeight:\"140%\",color:TEXT,scrollMarginTop:SCROLL_OFFSET_PX},children:endpoint.title}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,boxSizing:\"border-box\",margin:\"16px 0 0\",padding:\"6px 6px 6px 14px\",borderRadius:12,border:`1px solid ${BORDER}`},children:[/*#__PURE__*/_jsx(MethodTag,{method:endpoint.method,mono:mono}),\" \",/*#__PURE__*/_jsx(\"code\",{style:{flex:1,minWidth:0,fontFamily:mono,fontSize:14,lineHeight:\"150%\",color:TEXT,overflowWrap:\"anywhere\"},children:docsCodeText.path(endpoint.path)}),\" \",endpoint.beta&&/*#__PURE__*/_jsx(Tag,{children:\"Beta\"}),/*#__PURE__*/_jsx(CopyButton,{text:base+endpoint.path,label:\"Copy URL\"})]}),endpoint.notices.map(notice=>/*#__PURE__*/_jsx(Notice,{text:notice},notice)),endpoint.summary&&/*#__PURE__*/_jsx(Prose,{text:endpoint.summary}),/*#__PURE__*/_jsx(Details,{text:endpoint.details}),/*#__PURE__*/_jsx(Examples,{examples:endpoint.examples,mono:mono}),endpoint.parameters.map(group=>/*#__PURE__*/_jsxs(Fragment,{children:[/*#__PURE__*/_jsx(SubHeading,{children:group.title}),/*#__PURE__*/_jsx(FieldList,{fields:group.fields,mono:mono})]},group.title)),endpoint.body.length>0&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(SubHeading,{children:\"Request body\"}),/*#__PURE__*/_jsx(FieldList,{fields:endpoint.body,mono:mono})]}),/*#__PURE__*/_jsx(SubHeading,{children:\"Responses\"}),/*#__PURE__*/_jsx(Responses,{responses:endpoint.responses,mono:mono})]});}/**\n * The API reference of the docs, drawn from Parahelp's OpenAPI spec.\n * It shows the copy of the spec saved in this file, then swaps in the live spec when the browser can load it.\n * Each endpoint leads with a short summary and an example request. The long text of the spec is one click away.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function DocsApiReference(props){const{specUrl=\"https://app.parahelp.com/api/openapi.json\",live=true,headingFont={},monoFont={},style}=props;const isCanvas=RenderTarget.current()!==RenderTarget.preview;const[liveSpec,setLiveSpec]=useState(null);useEffect(()=>{if(isCanvas||!live||!specUrl)return;let cancelled=false;fetch(specUrl,{credentials:\"omit\"}).then(response=>response.ok?response.json():null).then(json=>{if(cancelled||!json||typeof json.paths!==\"object\")return;if(toEndpoints(json).length>0)setLiveSpec(json);}).catch(()=>{// The saved copy stays, for example while the spec does not allow requests from this site.\n});return()=>{cancelled=true;};},[isCanvas,live,specUrl]);const spec=liveSpec??SNAPSHOT;const endpoints=useMemo(()=>{try{return toEndpoints(spec);}catch{return toEndpoints(SNAPSHOT);}},[spec]);const base=(spec.servers?.[0]?.url??\"https://external-api.parahelp.com\").replace(/\\/$/,\"\");const mono=typeof monoFont.fontFamily===\"string\"?monoFont.fontFamily:MONO;const heading={};if(headingFont.fontFamily)heading.fontFamily=headingFont.fontFamily;if(headingFont.fontWeight)heading.fontWeight=headingFont.fontWeight;if(headingFont.fontStyle)heading.fontStyle=headingFont.fontStyle;return /*#__PURE__*/_jsxs(\"div\",{\"data-docs-api\":\"\",style:{boxSizing:\"border-box\",width:\"100%\",// The article around it keeps white space, which would turn the spaces between rows into empty lines.\nwhiteSpace:\"normal\",...style},children:[/*#__PURE__*/_jsx(\"style\",{children:\"[data-docs-api] [hidden] { display: none !important; }\"}),/*#__PURE__*/_jsx(EndpointList,{endpoints:endpoints,mono:mono}),endpoints.map(endpoint=>/*#__PURE__*/_jsx(EndpointSection,{endpoint:endpoint,base:base,mono:mono,heading:heading},endpoint.key)),/*#__PURE__*/_jsxs(\"p\",{style:{...proseStyle(15),margin:\"40px 0 0\",padding:\"20px 0 0\",borderTop:`1px solid ${BORDER}`,fontSize:14,color:TEXT_SECONDARY},children:[\"Generated from the\",\" \",/*#__PURE__*/_jsx(\"a\",{href:specUrl,target:\"_blank\",rel:\"noopener\",style:{color:TEXT,textDecoration:\"underline\",textDecorationColor:\"rgba(0, 0, 0, 0.4)\",textDecorationThickness:\"1px\",textUnderlineOffset:\"3px\"},children:\"OpenAPI spec\"}),spec.info?.version?`, version ${spec.info.version}.`:\".\"]})]});}addPropertyControls(DocsApiReference,{specUrl:{type:ControlType.String,title:\"Spec URL\",defaultValue:\"https://app.parahelp.com/api/openapi.json\"},live:{type:ControlType.Boolean,title:\"Live spec\",defaultValue:true,description:\"Loads the spec in the browser. Until it loads, the saved copy shows.\"},headingFont:{type:ControlType.Font,title:\"Heading font\",controls:\"basic\",defaultFontType:\"sans-serif\"},monoFont:{type:ControlType.Font,title:\"Code font\",controls:\"basic\",defaultFontType:\"monospace\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DocsApiReference\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DocsApiReference.map"],"mappings":"A,0RAIG,SAASuB,EAAY,EAAK,CAAC,OAAOC,EAAK,QAAQ,+BAA+B,UAAU,CAAC,CAAC,QAAQ,sBAAsB,gBAAgB,CAAC,CAAC,QAAQ,eAAe,KAAK,CAAE,CAAC,SAASC,GAAa,EAAK,CAAC,OAAOD,EAAK,MAAM,GAAG,CAAC,CAAC,KAAK,EAAK,IAAQE,IAAQ,GAAGC,GAAU,IAAI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