v1

latestOpenAPI 3.0.22026-07-174617345.8 KB
Agents

Get the stats for a certain agent.

Retrieve statistical data for an agent (formerly known as project) using its unique projectId. This endpoint provides extensive statistics about the agent's performance, activity, or other relevant metrics. Here is an example to a specific object stats: API SDK.

get/api/v1/projects/{projectId}/stats

Path parameters

projectIdinteger required

The unique identifier of the agent (formerly known as project).

Response

Agent stats

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "pages_found": 100,
    "pages_crawled": 100,
    "pages_indexed": 100,
    "crawl_credits_used": 100,
    "query_credits_used": 100,
    "total_queries": 100,
    "total_words_indexed": 100,
    "total_storage_credits_used": 100
  }
}