Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the Omni Agent in the sidebar.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/uploads \
--header 'Authorization: Bearer <token>'{
"pageInfo": {
"hasNextPage": false,
"nextCursor": null,
"pageSize": 20,
"totalRecords": 2
},
"records": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"file_name": "users.csv",
"view_name": "users",
"connection_id": "660e8400-e29b-41d4-a716-446655440001",
"in_db_as_table_name": "omni_upload_t550e8400",
"model_id": "880e8400-e29b-41d4-a716-446655440003",
"size_bytes": 1024,
"created_at": "2025-01-15T10:00:00Z",
"updated_at": "2025-01-15T10:00:00Z",
"uploaded_by_user": {
"id": "770e8400-e29b-41d4-a716-446655440002",
"name": "John Doe"
}
}
]
}List all uploads (CSV files and spreadsheets) in the organization with metadata and optional filtering.
This endpoint requires Organization Admin permissions.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/uploads \
--header 'Authorization: Bearer <token>'{
"pageInfo": {
"hasNextPage": false,
"nextCursor": null,
"pageSize": 20,
"totalRecords": 2
},
"records": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"file_name": "users.csv",
"view_name": "users",
"connection_id": "660e8400-e29b-41d4-a716-446655440001",
"in_db_as_table_name": "omni_upload_t550e8400",
"model_id": "880e8400-e29b-41d4-a716-446655440003",
"size_bytes": 1024,
"created_at": "2025-01-15T10:00:00Z",
"updated_at": "2025-01-15T10:00:00Z",
"uploaded_by_user": {
"id": "770e8400-e29b-41d4-a716-446655440002",
"name": "John Doe"
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Filter by upload type.
csv, spreadsheet Filter by connection ID.
Filter by model ID. Shared models return non-private connection uploads; workbook models return their own uploads.
Search term to filter by file name (case-insensitive).
Number of items to return.
1 <= x <= 100Cursor for pagination (from previous response).
Field to sort by.
createdAt, fileName, updatedAt Sort direction.
asc, desc Was this page helpful?