Skip to main content
GET
/
v1
/
analyses
/
{analysis_id}
/
results
Get Analysis Results
curl --request GET \
  --url https://api.example.com/v1/analyses/{analysis_id}/results \
  --header 'X-API-Key: <api-key>'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "owner_id": "<string>",
    "created_at": 123,
    "prompts": [
      {
        "id": "<string>",
        "idx": 123,
        "name": "<string>",
        "prompt": "<string>",
        "version": 123,
        "description": "<string>"
      }
    ],
    "results": [
      {
        "id": "<string>",
        "idx": 123,
        "url": "<string>",
        "status": "<string>",
        "prompt_results": [
          {
            "prompt_id": "<string>",
            "response": "<unknown>",
            "argument": "",
            "sources": []
          }
        ],
        "created_at": 123,
        "domain": {
          "id": "<string>",
          "name": "<string>"
        },
        "status_message": "<string>"
      }
    ],
    "description": "<string>",
    "started_at": 123
  },
  "response_type": "AnalysisResultsResponse",
  "links": []
}

Authorizations

X-API-Key
string
header
required

API Key for external integrations (format: greetincs_...)

Path Parameters

analysis_id
string
required

Analysis ID in TypeID format

Response

Successful Response

Complete analysis with all results.

data
AnalysisResultsData · object
required

Complete analysis results data.

response_type
string
default:AnalysisResultsResponse

HATEOAS links related to this response (e.g., self, next, prev)

Example:
[
{
"href": "/resource/{resource_id}",
"method": "GET",
"rel": "self",
"title": "Resource Details"
},
{
"href": "/resource/{resource_id}/related",
"method": "GET",
"rel": "related",
"title": "Related Resources"
}
]