For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DiscordPlatform
DocumentationIntegrationsAPI referenceSDKsChangelog
DocumentationIntegrationsAPI referenceSDKsChangelog
  • API Reference
      • POSTList prompts
      • POSTCreate a prompt
      • GETRetrieve a prompt
      • PATCHUpdate a prompt
      • DELDelete a prompt
      • POSTCreate a prompt version
      • GETList prompt versions
      • GETRetrieve a prompt version
      • PATCHUpdate a prompt version
      • DELDelete a prompt version
      • POSTCommit a prompt version
      • POSTDeploy a prompt version
      • GETGet prompts summary
      • POSTGet prompts summary with filters
  • Reference
    • Filters API Reference
LogoLogo
DiscordPlatform
API ReferencePrompts

Get prompts summary

GET
https://api.respan.ai/api/prompts/summary/
GET
/api/prompts/summary/
$curl https://api.respan.ai/api/prompts/summary/ \
> -H "Authorization: Bearer sk_live_xxxxx"
1{
2 "total_count": 42
3}

Get summary statistics for prompts in your current auth scope. The response currently includes only total_count.

Was this page helpful?
Previous

Get prompts summary with filters

Next
Built with

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY.

Response

Summary statistics for prompts.
total_countinteger
Total number of prompts matching the filters.

Errors

401
Unauthorized Error