ReportsFetch a reportget

Fetch a report

Fetches a report. Poll this endpoint until status is COMPLETED or FAILED.

curl -X GET "https://api.textmine.com/v3/reports/123" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (`tm_<key>`)"
{
  "id": 7001,
  "vault_id": 12345,
  "team_id": 321,
  "document_ids": [
    123
  ],
  "document_names": [
    "John Doe"
  ],
  "total_documents_in_vault": 42,
  "documents_returned": 42,
  "document_limit": 42,
  "prompt": "example_string",
  "result": "example_string",
  "reasoning": "example_string",
  "status": "PROCESSING",
  "error_code": "example_string",
  "error_description": "example_string",
  "request_date": "2024-12-25T10:00:00Z",
  "response_date": "2024-12-25T10:00:00Z",
  "created_at": "2024-12-25T10:00:00Z",
  "created_by_id": 123,
  "created_by_name": "John Doe",
  "instruction_analysis_enabled": true,
  "tags_created": 42,
  "tags_already_existed": 42,
  "instruction_analysis_message": "example_string"
}
GET
/v3/reports/{reportId}
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (`tm_<key>`)
Bearer Tokenstring
Required

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.
path
reportIdinteger
Required

Report ID.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (tm_<key>). Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Path Parameters

Responses

idinteger
vault_idinteger
team_idinteger
document_idsinteger[]
document_namesstring[]
total_documents_in_vaultinteger
documents_returnedinteger
document_limitinteger
promptstring
resultstring
reasoningstring
statusstring
error_codestring
error_descriptionstring
request_datestring
response_datestring
created_atstring
created_by_idinteger
created_by_namestring
instruction_analysis_enabledboolean
tags_createdinteger
tags_already_existedinteger
instruction_analysis_messagestring