Get prompts summary

Returns summary statistics for all prompts. ```Python Python import requests url = "https://api.respan.ai/api/prompts/summary/" api_key = "YOUR_RESPAN_API_KEY" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.get(url, headers=headers) print(response.json()) ``` ```TypeScript TypeScript fetch('https://api.respan.ai/api/prompts/summary/', { method: 'GET', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_RESPAN_API_KEY' } }) .then(response => response.json()) .then(data => console.log(data)); ```

Authentication

AuthorizationBearer
API key authentication. Get your API key from https://platform.respan.ai/platform/api-keys

Response

Summary statistics for prompts
total_countinteger
Total number of prompts matching filters

Errors

401
Unauthorized Error