API
GET /api/files/{file_id}/content
Get File Content
GET /api/files/{file_id}/content
Get File Content
Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
file_id | path | string (uuid) | Yes | - |
X-Org-ID | header | string | null | No | - |
Example request
curl -X GET https://api.cognitivx.io/api/files/{file_id}/content \
-H "Authorization: Bearer icog_..."Example response
200 application/json
nullResponses
| Status | Description |
|---|---|
200 | Success. Returns the response body shown below. |
422 | Request validation failed. detail lists each offending field. |