Clara-Backend
  1. Agent
Clara-Backend
  • Get Started
  • Quickstart (Rest API)
  • Quickstart (MCP Server)
  • Auth
    • Register
      POST
    • Google OAuth
      POST
    • Login
      POST
    • Logout
      DELETE
    • Change Password
      PATCH
    • Send OTP
      POST
    • Activate
      POST
    • Enable 2FA
      POST
    • Disable 2FA
      DELETE
  • User
    • View
      GET
    • Update
      PATCH
  • API Key
    • View
      GET
    • Reset
      POST
  • Transaction
    • View All
      GET
    • View
      GET
  • Task
    • View All
      GET
    • View
      GET
  • Agent
    • Supported Attachments
      GET
    • Analysis
      POST
  • Stripe
    • Rate
      GET
    • Portal
      POST
    • Buy
      POST
  • Misc
    • Health
    • Version
  1. Agent

Analysis

Prod Env
https://backend.clara.crazi.co/api/v1
Prod Env
https://backend.clara.crazi.co/api/v1
POST
https://backend.clara.crazi.co/api/v1
/users/{user_id}/agent/analysis
This endpoint lets a user analyze any information using Clara's agent. Minimum credits required to use this agent are 20. You can upload upto five files with the field name being the file name.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Header Params

Body Params multipart/form-data

Responses

🟢201Success
text/plain
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Resource Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://backend.clara.crazi.co/api/v1/users/user_ac19b010fec5428a8ae131596731b7c8/agent/analysis' \
--header 'Authorization: Bearer <token>' \
--form 'prompt=""' \
--form 'file_name=@"/Users/crazylit.dev/Downloads/videoplayback.mp4"'
Response Response Example
400 - Empty Body
{
    "data": null,
    "message": "Request body is empty.",
    "status": "error"
}
Modified at 2025-11-29 04:24:14
Previous
Supported Attachments
Next
Stripe
Built with