Crawled docs.perplexity.ai 71bb79f7
output array containing messages with content[].text model - The model name used usage - Token consumption details id , created_at , status - Response metadata Best Practices 1 Use the correct base URL Always use ht... output array containing messages with content[].text model - The model name used usage - Token consumption details id , created_at , status - Response metadata Best Practices 1 Use the correct base URL Always use https://api.perplexity.ai/v1 (with /v1 ) for the Agent API. Copy Ask AI client = OpenAI( api_key = "YOUR_API_KEY" , base_url = "https://api.perplexity.ai/v1" # Correct ) 2 Handle errors gracefully Use the
Rank
77
Safety
84
Updated
Apr 14, 2026
Source
GITHUB REPOS
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. Last updated 4/14/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Perplexityvendor · observed Apr 14, 2026
- Crawlable docs
- 6 indexed pages on the official domainintegration · observed Mar 14, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: medium.
- Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/crawl-6a2c6f400ec354ebe8c3-71bb79f7940057a02cfb/snapshot"
Documentation
GITHUB REPOS
900 characters of source documentation, loaded on request.
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Perplexity",
"href": "https://docs.perplexity.ai/docs/agent-api/openai-compatibility",
"sourceUrl": "https://docs.perplexity.ai/docs/agent-api/openai-compatibility",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-14T23:26:25.608Z",
"isPublic": true
},
{
"factKey": "docs_crawl",
"category": "integration",
"label": "Crawlable docs",
"value": "6 indexed pages on the official domain",
"href": "https://docs.perplexity.ai/docs/sonar/quickstart",
"sourceUrl": "https://docs.perplexity.ai/docs/sonar/quickstart",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-03-14T02:02:42.390Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/crawl-6a2c6f400ec354ebe8c3-71bb79f7940057a02cfb/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/crawl-6a2c6f400ec354ebe8c3-71bb79f7940057a02cfb/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "docs_update",
"title": "Docs refreshed: Sonar API - Perplexity",
"description": "Fresh crawlable documentation was indexed for the official domain.",
"href": "https://docs.perplexity.ai/docs/sonar/quickstart",
"sourceUrl": "https://docs.perplexity.ai/docs/sonar/quickstart",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-03-14T02:02:42.390Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
