Projects

List the caller's projects

Returns every project the authenticated user owns or is a member of. Not available to project-scoped keys.

get/api/projects

Request

  • Base URL: https://dosai.pro
  • URL: https://dosai.pro/api/projects
  • Auth: HTTP bearer

Query parameters

compact'1'

Pass 1 to omit description (the company blurb). It is free text an owner can make very long, and list views never render it: on a 12-project account it was 85% of the response. Everything else is unchanged. Fetch one project to get the full record.

Response

Projects array (returned bare, not wrapped). The list omits system_prompt: it is the longest column a project has and nothing reading a list needs it. Fetch one project to get its prompt. With ?compact=1 it also omits description.

idstring uuid
namestring
company_namestring
industrystring
descriptionstring
status'draft' | 'active' | 'paused' | 'archived'
channelstring
colorstring
openai_modelstring

Owner/admin only.

token_balanceinteger

Balance in US cents.

tokens_usedinteger
total_conversationsinteger
total_leadsinteger
subscription_activeboolean
subscription_expires_atstring date-time nullable
created_atstring date-time
updated_atstring date-time

Example response

[
  {
    "channel": "whatsapp"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.