Codevisor Docs
Api reference

List images and videos from a workspace's chats, newest first

GET/v1/workspaces/{workspaceId}/media

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

workspaceId*string

Query Parameters

before?string

Opaque nextBefore cursor from a previous page.

limit?integer
Range1 <= value <= 200

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/media"
{  "media": [    {      "attachment": {        "fileId": "string",        "name": "string",        "mimeType": "string",        "sizeBytes": 0,        "kind": "image"      },      "sessionId": "string",      "itemId": "string",      "createdAt": "string",      "source": "message",      "durationSeconds": 0    }  ],  "nextBefore": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}