Index File
Index files from user's S3 bucket into the database.
Database ID is looked up automatically from organization_id + database_name.
Args:
database_name: Name of the database (looked up automatically)
aws_access_key_id: AWS access key for S3 bucket
aws_secret_access_key: AWS secret key for S3 bucket
bucket_name: S3 bucket name
bucket_region: S3 bucket region
organization_id: Organization UUID
api_key: Captain API key for authentication
Headers
Authorization
Captain API key for authentication
X-Organization-ID
Organization UUID
Request
This endpoint expects an object.
database_name
aws_access_key_id
aws_secret_access_key
bucket_name
api_key
organization_id
bucket_region
processing_tier
max_files
Response
Successful Response
success
message
database_file_id
status
error
job_id