CreativAI API Documentation
Welcome to the CreativAI API documentation. This comprehensive guide will help you integrate AI-powered video analysis and data management into your applications.
API Key Configuration
Enter your API key once here. It will be automatically used for all endpoint tests below.
RESTful API
Simple, intuitive REST endpoints with JSON request and response formats for easy integration.
Secure Authentication
API key-based authentication ensures your data and requests are always secure and protected.
Global Availability
Access our APIs from anywhere with low latency and high reliability across global regions.
Easy Integration
Detailed documentation make integration quick and straightforward.
Base URL
All API requests should be made to this base URL with the appropriate endpoint path.
Authentication
All API requests require authentication using an API key. Include your API key in the request headers:
Response Format
All responses are returned in JSON format with a consistent structure:
User Management
/user/get_users_infoGet User Info
Retrieve information about the authenticated user including credits and usage.
Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"user_id": "user_123",
"email": "user@example.com",
"credits": 1000,
"organization_id": "org_123",
"project_name": "my_project",
"created_at": "2024-01-01T00:00:00Z"
}Example Request
curl -X GET "https://creativai-apis.com/testing/user/get_users_info" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json"Collections
/collectionsList Collections
Retrieve a list of all collections for the specified organization and project.
Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"collection_id_1": {
"collection_id": "col_123",
"collection_name": "TV Shows",
"total_videos": 150,
"created_at": "2024-01-15T10:30:00Z",
"indexed": true
},
"collection_id_2": {
"collection_id": "col_456",
"collection_name": "Shark Tank",
"total_videos": 200,
"created_at": "2024-01-20T14:20:00Z",
"indexed": true
}
}{
"error": "Invalid API key provided"
}Example Request
curl -X GET "https://creativai-apis.com/testing/collections?organization_id=org_123&project_name=my_project" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json"/collectionsCreate Collection
Create a new collection to organize and manage your videos.
Request Body
collection_namestringrequiredThe name for the new collection
"My New Collection"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"collection_id": "col_789",
"collection_name": "My New Collection",
"organization_id": "org_123",
"project_name": "my_project",
"user_id": "user_456",
"created_at": "2024-01-28T12:00:00Z"
}{
"error": "collection_name is required"
}Example Request
curl -X POST "https://creativai-apis.com/testing/collections" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"collection_name": "My New Collection"}'/collections/{collection_id}Delete Collection
Delete a specific collection and all its associated data.
Path Parameters
collection_idstringrequiredThe unique identifier of the collection to delete
"col_123"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"message": "Collection deleted successfully"
}{
"error": "Collection not found"
}Example Request
curl -X DELETE "https://creativai-apis.com/testing/collections/col_123" \
-H "x-api-key: your_api_key_here"Videos
/collections/{collection_id}/videosList Videos
Retrieve a list of all videos in a specific collection with their metadata.
Path Parameters
collection_idstringrequiredThe unique identifier of the collection
"col_123"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"collection_id": "col_123",
"collection_name": "TV Shows",
"total_videos": 150,
"videos": [
{
"video_id": "vid_001",
"filename": "episode_s01e01.mp4",
"video_url": "https://example.s3.amazonaws.com/video.mp4",
"status": "completed",
"indexed": true,
"duration_seconds": 1800,
"created_at": "2024-01-15T10:30:00Z"
}
]
}Example Request
curl -X GET "https://creativai-apis.com/testing/collections/col_123/videos" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json"/collections/uploads/initiateUpload Video
Initiate a multipart video upload. Returns presigned URLs for uploading video file parts to S3.
Request Body
collection_idstringrequiredThe collection ID to upload the video to
"satyams_42dcf9d5"filesarrayrequiredArray of files to upload. Each file includes filename, file_size, and content_type
"[{\"filename\": \"video.mp4\", \"file_size\": 4063532, \"content_type\": \"video/mp4\"}]"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"uploads": [
{
"filename": "a3f9f4d94e5641e0a53d15ebdf385fe2.mp4",
"upload_id": "upload_12345",
"video_id": "vid_abc123",
"s3_key": "satyams_42dcf9d5/uploads/a3f9f4d94e5641e0a53d15ebdf385fe2.mp4",
"part_size": 5242880,
"presigned_urls": [
"https://creativai-staging-video-storage.s3.amazonaws.com/upload?part=1&upload_id=xyz",
"https://creativai-staging-video-storage.s3.amazonaws.com/upload?part=2&upload_id=xyz"
]
}
]
},
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/collections/uploads/initiate" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "satyams_42dcf9d5",
"files": [
{
"filename": "a3f9f4d94e5641e0a53d15ebdf385fe2.mp4",
"file_size": 4063532,
"content_type": "video/mp4"
}
]
}'/api/v2/indexing/video-statusCheck Video Indexing Status
Check the indexing status of a video. Returns the current indexing progress and completion status.
Query Parameters
video_s3_uristringrequiredThe S3 URI of the video file to check indexing status for
"s3://creativai-staging-video-storage/Zyfgnt2C3lPWv91vTi7dP8qrvxY2/0cd5ae29-6746-4bca-b0e5-f519f2db9a08/Default%20Project/satyams_42dcf9d5/a3f9f4d94e5641e0a53d15ebdf385fe2_96cce721.mp4"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"video_s3_uri": "s3://creativai-staging-video-storage/Zyfgnt2C3lPWv91vTi7dP8qrvxY2/0cd5ae29-6746-4bca-b0e5-f519f2db9a08/Default%20Project/satyams_42dcf9d5/a3f9f4d94e5641e0a53d15ebdf385fe2_96cce721.mp4",
"status": "completed",
"progress": 100,
"indexed_segments": 45,
"total_segments": 45,
"indexing_started_at": "2026-01-28T10:35:00Z",
"indexing_completed_at": "2026-01-28T10:37:00Z",
"embedding_model": "default",
"vector_dimension": 768
}{
"error": "Video not found",
"status": "not_found"
}Example Request
curl -X GET "https://creativai-apis.com/testing/api/v2/indexing/video-status?video_s3_uri=s3%3A%2F%2Fcreativai-staging-video-storage%2FZyfgnt2C3lPWv91vTi7dP8qrvxY2%2F0cd5ae29-6746-4bca-b0e5-f519f2db9a08%2FDefault%2520Project%2Fsatyams_42dcf9d5%2Fa3f9f4d94e5641e0a53d15ebdf385fe2_96cce721.mp4" \
-H "x-api-key: your_api_key_here"/api/v2/indexing/chunk-based/{job_id}/statusCheck Indexing Job Status
Check the status of an indexing job. Returns progress, completion status, and processing results.
Path Parameters
job_idstringrequiredThe unique identifier of the indexing job to check
"b4051a14-5450-47e7-b926-acf234838b70"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"job_id": "b4051a14-5450-47e7-b926-acf234838b70",
"status": "completed",
"progress": 100,
"total_chunks": 48,
"processed_chunks": 48,
"failed_chunks": 0,
"skipped_chunks": 0,
"video_s3_uri": "s3://creativai-staging-video-storage/Zyfgnt2C3lPWv91vTi7dP8qrvxY2/0cd5ae29-6746-4bca-b0e5-f519f2db9a08/Default%20Project/satyams_42dcf9d5/a3f9f4d94e5641e0a53d15ebdf385fe2_96cce721.mp4",
"processing_started_at": "2026-01-28T10:35:00Z",
"processing_completed_at": "2026-01-28T10:37:00Z",
"processing_duration_seconds": 120,
"embedding_model": "default",
"error_messages": []
}{
"error": "Job not found",
"job_id": "b4051a14-5450-47e7-b926-acf234838b70"
}Example Request
curl -X GET "https://creativai-apis.com/testing/api/v2/indexing/chunk-based/b4051a14-5450-47e7-b926-acf234838b70/status" \
-H "x-api-key: your_api_key_here"/collections/{collection_id}/videosDelete Videos
Delete one or more videos from a collection by their S3 URLs.
Path Parameters
collection_idstringrequiredThe collection ID containing the videos
"satyams_42dcf9d5"Request Body
videos_urls_listarrayrequiredArray of S3 URLs of videos to delete
"[\"s3://creativai-staging-video-storage/Zyfgnt2C3lPWv91vTi7dP8qrvxY2/0cd5ae29-6746-4bca-b0e5-f519f2db9a08/Default Project/satyams_42dcf9d5/a3f9f4d94e5641e0a53d15ebdf385fe2_96cce721.mp4\"]"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"message": "Videos deleted successfully"
}{
"success": false,
"error": "One or more video URLs not found"
}Example Request
curl 'https://creativai-apis.com/testing/collections/satyams_42dcf9d5/videos' \
-X 'DELETE' \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'x-api-key: your_api_key_here' \
-d '{"videos_urls_list":["s3://creativai-staging-video-storage/Zyfgnt2C3lPWv91vTi7dP8qrvxY2/0cd5ae29-6746-4bca-b0e5-f519f2db9a08/Default Project/satyams_42dcf9d5/a3f9f4d94e5641e0a53d15ebdf385fe2_96cce721.mp4"]}'Indexing & Processing
/api/v2/indexing/chunksStart Chunk-Based Indexing
Initiate chunk-based indexing for video segments in a collection.
Request Body
collection_idstringrequiredThe collection ID to index
"satyams_42dcf9d5"chunk_sizenumberSize of chunks in seconds
10model_versionstringAI model version to use
"base"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"job_id": "job_index_001",
"collection_id": "satyams_42dcf9d5",
"status": "processing",
"chunk_size": 10,
"total_videos": 5,
"estimated_chunks": 1800,
"started_at": "2026-01-28T12:00:00Z"
},
"error": null
}{
"success": false,
"error": "collection_id is required"
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v2/indexing/chunks" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "satyams_42dcf9d5",
"chunk_size": 10,
"model_version": "base"
}'/api/v2/indexing/collections/{collection_id}/statusGet Collection Preprocessing Status
Retrieve the preprocessing and indexing status of a collection.
Path Parameters
collection_idstringrequiredThe collection ID
"satyams_42dcf9d5"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"collection_id": "satyams_42dcf9d5",
"overall_status": "processing",
"videos": {
"total": 5,
"indexed": 3,
"processing": 2,
"failed": 0
},
"chunks": {
"total": 1800,
"processed": 1200,
"remaining": 600
},
"progress_percentage": 66.7,
"last_updated": "2026-01-28T12:00:00Z",
"estimated_completion": "2026-01-28T14:30:00Z"
},
"error": null
}{
"success": false,
"error": "Collection not found"
}Example Request
curl -X GET "https://creativai-apis.com/testing/api/v2/indexing/collections/satyams_42dcf9d5/status" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json"Data Plates
/api/v3/data-plates/createCreate Data Plate
Create a new data plate from search results with AI-powered validation.
Request Body
collection_idstringrequiredThe collection ID containing the videos
"satyams_42dcf9d5"user_querystringrequiredThe search query used to find segments
"what robot is doing?"search_idstringrequiredThe ID of the search to create the plate from
"82ca9c80-d978-4632-9225-32295df40a76"top_knumberrequiredNumber of top results to include
1levelsarrayrequiredRelevance levels to include: high, medium, low
"[\"high\"]"namestringrequiredName for the data plate
"What Robot Is Doing?"metadataobjectAdditional metadata for the data plate
"{}"model_versionstringrequiredAI model version to use for validation
"base"early_stopbooleanrequiredEnable early stopping for validation
trueearly_stop_limitnumberrequiredNumber of segments before early stop triggers
4Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"job_id": "job_789",
"status": "processing",
"progress": 0,
"created_at": "2024-01-28T12:00:00Z",
"total_segments": 1,
"segments_queued_for_validation": 1,
"segments_skipped_initially": 0
},
"error": null
}{
"success": false,
"error": "collection_id, search_id, and levels are required",
"data": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v3/data-plates/create" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "satyams_42dcf9d5",
"user_query": "what robot is doing?",
"search_id": "82ca9c80-d978-4632-9225-32295df40a76",
"top_k": 1,
"levels": ["high"],
"name": "What Robot Is Doing?",
"metadata": {},
"model_version": "base",
"early_stop": true,
"early_stop_limit": 4
}'/api/v3/data-plates/listList Data Plates
Retrieve a list of all data plates for a specific collection.
Request Body
collection_idstringrequiredThe collection ID to list data plates from
"col_123"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": [
{
"plate_id": "326fc12d-5846-4620-aca9-c49a8288ee0f",
"collection_id": "satyams_42dcf9d5",
"user_id": "Zyfgnt2C3lPWv91vTi7dP8qrvxY2",
"created_by": "Zyfgnt2C3lPWv91vTi7dP8qrvxY2",
"name": "What Robot Is Doing?",
"search_id": "82ca9c80-d978-4632-9225-32295df40a76",
"top_k": 1,
"metadata": {
"validation": {
"query": "what robot is doing?",
"decision_mode": "binary_yes_no",
"model_version": "base",
"early_stop_enabled": true,
"early_stop_triggered": false,
"evaluated_segments": 1,
"removed_count": 0,
"kept_count": 1,
"skipped_count": 0,
"timestamp": "2026-01-28T06:28:47.470055",
"validation_job_id": "97b7a408-1894-4993-b4ac-144521223bf0"
}
},
"segment_count": 1,
"columns": [],
"created_at": "2026-01-28T06:28:47.470000",
"updated_at": "2026-01-28T06:28:47.578000"
}
],
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v3/data-plates/list" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"collection_id": "col_123"}'/api/v3/data-plates/getGet Data Plate
Retrieve detailed information about a specific data plate including all segments.
Request Body
collection_idstringrequiredThe collection ID
"col_123"plate_idstringrequiredThe unique identifier of the data plate
"plate_001"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"plate_id": "plate_001",
"name": "Product Pitches Dataset",
"segment_count": 45,
"segments": [
{
"segment_id": "seg_001",
"video_id": "vid_001",
"metadata": {
"start": 120.5,
"end": 145.8,
"subtitles": "This is our product...",
"thumbnail_url": "https://example.com/thumb.jpg"
},
"extracted_info": {}
}
],
"metadata": {
"validation": {
"query": "product pitch scenes",
"kept_count": 45,
"removed_count": 5
}
}
},
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v3/data-plates/get" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "col_123",
"plate_id": "plate_001"
}'/api/v3/data-plates/deleteDelete Data Plate
Delete a specific data plate permanently.
Request Body
collection_idstringrequiredThe collection ID
"col_123"plate_idstringrequiredThe unique identifier of the data plate to delete
"plate_001"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"message": "Data plate deleted successfully"
},
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v3/data-plates/delete" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "col_123",
"plate_id": "plate_001"
}'/api/v3/data-plates/segments/addAdd Segments
Add new segments to an existing data plate.
Request Body
collection_idstringrequiredThe collection ID
"col_123"plate_idstringrequiredThe data plate ID
"plate_001"segmentsarrayrequiredArray of segment objects to add
"[{\"video_id\": \"vid_001\", \"start\": 120, \"end\": 145}]"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"added_count": 5,
"message": "Segments added successfully"
},
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v3/data-plates/segments/add" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "col_123",
"plate_id": "plate_001",
"segments": [{"video_id": "vid_001", "start": 120, "end": 145}]
}'/api/v3/data-plates/segments/removeRemove Segments
Remove specific segments from a data plate.
Request Body
collection_idstringrequiredThe collection ID
"col_123"plate_idstringrequiredThe data plate ID
"plate_001"segment_idsarrayrequiredArray of segment IDs to remove
"[\"seg_001\", \"seg_002\"]"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"removed_count": 2,
"message": "Segments removed successfully"
},
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v3/data-plates/segments/remove" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "col_123",
"plate_id": "plate_001",
"segment_ids": ["seg_001", "seg_002"]
}'Search
/api/v3/searchSemantic Search
Perform AI-powered semantic search across video content within a specific collection using natural language queries.
Request Body
collection_idstringrequiredThe collection ID to search within
"col_123"querystringrequiredNatural language search query
"entrepreneurs pitching innovative tech products"top_knumberNumber of results to return (default: 100)
50model_versionstringAI model version to use for search
"base"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"search_id": "search_789",
"results": [
{
"segment_id": "seg_001",
"video_id": "vid_001",
"score": 0.95,
"relevance": "high",
"metadata": {
"start": 120.5,
"end": 145.8,
"subtitles": "This is our innovative product...",
"thumbnail_url": "https://example.com/thumb.jpg"
}
}
],
"total_results": 45
},
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v3/search" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "col_123",
"query": "entrepreneurs pitching innovative tech products",
"top_k": 50
}'/search_videosSearch Videos
Perform a video search with semantic understanding using vision or text-based queries.
Request Body
text_querystringrequiredNatural language search query
"what going on?"search_typestringrequiredType of search to perform (e.g., vision, text)
"vision"collection_idstringrequiredThe collection ID to search within
"satyams_42dcf9d5"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"high": [
{
"video_id": 462717127808900350,
"distance": 0.3842441439628601,
"entity": {
"start": 0,
"subtitles": "Video content description",
"clip_number": "00000",
"video_url": "https://creativai-staging-video-storage.s3.amazonaws.com/.../video.mp4",
"clip_url": "https://staging-users-chuncked-videos.s3.amazonaws.com/.../chunk_00000.mp4",
"thumbnail_url": "https://staging-users-chuncked-videos.s3.amazonaws.com/.../thumb_00000.jpg",
"end": 2.4000000953674316,
"tags": [],
"video_id": 462717127808900350
},
"ranking_score": 0.01639344262295082
}
],
"medium": [],
"low": [],
"search_id": "9514f2ab-74e3-4238-bedc-01c302686ce6"
}{
"error": "text_query, search_type, and collection_id are required"
}Example Request
curl -X POST "https://creativai-apis.com/testing/search_videos" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"text_query": "what going on?",
"search_type": "vision",
"collection_id": "satyams_42dcf9d5"
}'Knowledge Extraction
/api/v3/knowledge-extraction/chat/queryAdd Column (Chat Query)
Add a new column to a data plate using AI to extract information from video segments via natural language query.
Request Body
collection_idstringrequiredThe collection ID containing the videos
"satyams_42dcf9d5"plate_idstringrequiredThe data plate ID to add the column to
"137be5ec-7f10-4c8d-8237-f13149f6cd17"querystringrequiredNatural language query for information extraction
"is it medical treatment?"model_versionstringAI model version to use for extraction
"base"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"job_id": "job_abc123",
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"query": "is it medical treatment?",
"status": "processing",
"created_at": "2026-01-28T12:00:00Z"
},
"error": null
}{
"success": false,
"error": "collection_id, plate_id, and query are required",
"error_details": {
"missing_fields": [
"query"
]
}
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v3/knowledge-extraction/chat/query" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "satyams_42dcf9d5",
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"query": "is it medical treatment?",
"model_version": "base"
}'/api/v2/chat/sessions/listList Chat Sessions
Retrieve all chat sessions associated with a data plate.
Request Body
collection_idstringrequiredThe collection ID
"satyams_42dcf9d5"plate_idstringrequiredThe data plate ID
"137be5ec-7f10-4c8d-8237-f13149f6cd17"limitnumberMaximum number of sessions to return
20Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"sessions": [
{
"session_id": "session_001",
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"collection_id": "satyams_42dcf9d5",
"title": "Query Results",
"message_count": 5,
"last_message_at": "2026-01-28T12:30:00Z",
"created_at": "2026-01-28T12:00:00Z"
}
],
"total_count": 1
},
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v2/chat/sessions/list" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "satyams_42dcf9d5",
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"limit": 20
}'/api/v3/knowledge-extraction/charts/plateGet Dashboard Charts
Retrieve AI-generated charts and visualizations for a data plate dashboard.
Request Body
collection_idstringrequiredThe collection ID
"satyams_42dcf9d5"plate_idstringrequiredThe data plate ID
"137be5ec-7f10-4c8d-8237-f13149f6cd17"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"collection_id": "satyams_42dcf9d5",
"charts": [
{
"chart_id": "chart_001",
"type": "bar",
"title": "Response Distribution",
"description": "Distribution of responses across segments",
"data": {
"labels": [
"Yes",
"No",
"Unknown"
],
"values": [
25,
15,
5
]
}
},
{
"chart_id": "chart_002",
"type": "pie",
"title": "Category Breakdown",
"description": "Breakdown of segments by category",
"data": {
"labels": [
"Medical",
"Non-Medical",
"Unclear"
],
"values": [
30,
10,
5
]
}
}
],
"total_segments": 45,
"generated_at": "2026-01-28T12:00:00Z"
},
"error": null
}{
"success": false,
"error": "Data plate not found"
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v3/knowledge-extraction/charts/plate" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "satyams_42dcf9d5",
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17"
}'Data Plate Operations
/api/v2/data-plates/{plate_id}Get Data Plate
Retrieve detailed information about a specific data plate.
Path Parameters
plate_idstringrequiredThe data plate ID
"137be5ec-7f10-4c8d-8237-f13149f6cd17"Query Parameters
collection_idstringrequiredThe collection ID containing the data plate
"satyams_42dcf9d5"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"collection_id": "satyams_42dcf9d5",
"name": "Medical Analysis Plate",
"description": "Analysis of medical procedures",
"columns": [
"segment_id",
"timestamp",
"medical_treatment",
"severity"
],
"row_count": 125,
"created_at": "2026-01-20T10:00:00Z",
"updated_at": "2026-01-28T12:00:00Z",
"status": "active"
},
"error": null
}{
"success": false,
"error": "Data plate not found"
}Example Request
curl -X GET "https://creativai-apis.com/testing/api/v2/data-plates/137be5ec-7f10-4c8d-8237-f13149f6cd17?collection_id=satyams_42dcf9d5" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json"/api/v2/data-plates/{plate_id}Delete Data Plate
Delete a data plate and all associated data.
Path Parameters
plate_idstringrequiredThe data plate ID to delete
"137be5ec-7f10-4c8d-8237-f13149f6cd17"Query Parameters
collection_idstringrequiredThe collection ID
"satyams_42dcf9d5"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"status": "deleted",
"deleted_at": "2026-01-28T12:00:00Z"
},
"error": null
}{
"success": false,
"error": "Data plate not found"
}Example Request
curl -X DELETE "https://creativai-apis.com/testing/api/v2/data-plates/137be5ec-7f10-4c8d-8237-f13149f6cd17?collection_id=satyams_42dcf9d5" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json"/api/v2/data-plates/{plate_id}/videosGet Videos Info
Retrieve information about videos associated with a data plate.
Path Parameters
plate_idstringrequiredThe data plate ID
"137be5ec-7f10-4c8d-8237-f13149f6cd17"Request Body
collection_idstringrequiredThe collection ID
"satyams_42dcf9d5"limitnumberMaximum number of videos to return
50offsetnumberNumber of results to skip for pagination
0Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"videos": [
{
"video_id": "vid_001",
"filename": "procedure_analysis_001.mp4",
"duration": 3600,
"segment_count": 25,
"upload_date": "2026-01-15T10:30:00Z",
"status": "indexed"
},
{
"video_id": "vid_002",
"filename": "procedure_analysis_002.mp4",
"duration": 2400,
"segment_count": 18,
"upload_date": "2026-01-18T14:00:00Z",
"status": "indexed"
}
],
"total_count": 2
},
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v2/data-plates/137be5ec-7f10-4c8d-8237-f13149f6cd17/videos" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "satyams_42dcf9d5",
"limit": 50,
"offset": 0
}'/api/v2/data-plates/{plate_id}/segmentsAdd Segments
Add new segments to a data plate.
Path Parameters
plate_idstringrequiredThe data plate ID
"137be5ec-7f10-4c8d-8237-f13149f6cd17"Request Body
collection_idstringrequiredThe collection ID
"satyams_42dcf9d5"segmentsarrayrequiredArray of segments to add (see example request for structure)
"[{segment_id, video_id, start_time, end_time, label}]"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"added_segments": 1,
"total_segments": 126,
"created_at": "2026-01-28T12:00:00Z"
},
"error": null
}Example Request
curl -X POST "https://creativai-apis.com/testing/api/v2/data-plates/137be5ec-7f10-4c8d-8237-f13149f6cd17/segments" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "satyams_42dcf9d5",
"segments": [
{
"segment_id": "seg_001",
"video_id": "vid_001",
"start_time": 120,
"end_time": 180,
"label": "treatment_procedure"
}
]
}'/api/v2/data-plates/{plate_id}/segmentsRemove Segments
Remove segments from a data plate.
Path Parameters
plate_idstringrequiredThe data plate ID
"137be5ec-7f10-4c8d-8237-f13149f6cd17"Request Body
collection_idstringrequiredThe collection ID
"satyams_42dcf9d5"segment_idsarrayrequiredArray of segment IDs to remove
"[\"seg_001\", \"seg_002\"]"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"removed_segments": 2,
"total_segments": 124,
"deleted_at": "2026-01-28T12:00:00Z"
},
"error": null
}Example Request
curl -X DELETE "https://creativai-apis.com/testing/api/v2/data-plates/137be5ec-7f10-4c8d-8237-f13149f6cd17/segments" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"collection_id": "satyams_42dcf9d5",
"segment_ids": ["seg_001", "seg_002"]
}'/api/v2/data-plates/{plate_id}/columns/{column_name}Delete Column
Delete a column from a data plate.
Path Parameters
plate_idstringrequiredThe data plate ID
"137be5ec-7f10-4c8d-8237-f13149f6cd17"column_namestringrequiredThe name of the column to delete
"medical_treatment"Query Parameters
collection_idstringrequiredThe collection ID
"satyams_42dcf9d5"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"deleted_column": "medical_treatment",
"remaining_columns": [
"segment_id",
"timestamp",
"severity"
],
"deleted_at": "2026-01-28T12:00:00Z"
},
"error": null
}{
"success": false,
"error": "Column not found"
}Example Request
curl -X DELETE "https://creativai-apis.com/testing/api/v2/data-plates/137be5ec-7f10-4c8d-8237-f13149f6cd17/columns/medical_treatment?collection_id=satyams_42dcf9d5" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json"Chat Sessions
/api/v2/chat/sessions/{session_id}Get Chat Session
Retrieve details of a specific chat session.
Path Parameters
session_idstringrequiredThe chat session ID
"session_001"Query Parameters
collection_idstringrequiredThe collection ID
"satyams_42dcf9d5"Try It Out
⚠️ Please enter your API key in the configuration section at the top of the page to test this endpoint.
Responses
{
"success": true,
"data": {
"session_id": "session_001",
"collection_id": "satyams_42dcf9d5",
"plate_id": "137be5ec-7f10-4c8d-8237-f13149f6cd17",
"title": "Medical Analysis Query",
"messages": [
{
"message_id": "msg_001",
"role": "user",
"content": "What procedures are documented?",
"timestamp": "2026-01-28T12:00:00Z"
},
{
"message_id": "msg_002",
"role": "assistant",
"content": "The documentation includes 25 distinct medical procedures...",
"timestamp": "2026-01-28T12:00:30Z"
}
],
"message_count": 8,
"created_at": "2026-01-28T12:00:00Z",
"updated_at": "2026-01-28T12:30:00Z"
},
"error": null
}{
"success": false,
"error": "Chat session not found"
}Example Request
curl -X GET "https://creativai-apis.com/testing/api/v2/chat/sessions/session_001?collection_id=satyams_42dcf9d5" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json"