DocumentationAPI ReferenceRelease Notes
ScaleAI
API OverviewAPI Authentication
List available agent templates GETGet required fields for a model provider GETCreate agent from template POSTClone Agent POSTImport Agent into Workspaces POSTGet dynamic prompt variables for an agent GETList all agents GETCreate a new agent POSTGet agent by ID GETUpdate agent PATCHGet All Event Types GETAI generate or update agent prompt POSTList agent versions GETGet agent version detail GETUpdate agent version metadata PATCHRestore agent version POSTCreate agent from template POSTClone an agent POSTGet dynamic prompt variables for an agent GETList all agents GETCreate a new agent POSTGet agent by ID GETUpdate agent PATCHService Get All Event Types GETAI generate or update agent prompt POSTList agent versions GETGet agent version detail GETUpdate agent version metadata PATCHRestore agent version POST
Initiate Google OAuth login GETHandle Google OAuth callback GETRefresh POSTLogout POSTSend Otp POSTVerify Otp POST
Get Batch Template Url GETService Get Batch Template Url GETGet Batches GETCreate Batch POSTUpdate Batch PATCHDelete Batch DELETEService Get Batches GETService Create Batch POSTService Update Batch PATCHService Delete Batch DELETE
Get Call Logs GETStream Post Call Progress Events GETGet Call Log Detail GETGet Call Recording POSTRecall Call Session POSTGet Call Recording Url POSTGet Call Recording Url By Action POSTService Get Call Logs GETService Get Call Log Detail GETService Get Call Recording POSTService Recall Call Session POSTService Get Call Recording Url POSTService Get Call Recording Url By Action POST
Get Countries GET
Discover Urls POSTService Discover Urls POSTList Knowledge Bases GETCreate a new knowledge base POSTGet Knowledge Base GETUpdate knowledge base PATCHCancel knowledge base ingestion POSTRetry failed or cancelled knowledge base ingestion POSTRe-crawl a knowledge base on demand POSTService List Knowledge Bases GETService Create Knowledge Base POSTService Get Knowledge Base GETService Patch Knowledge Base PATCHService Cancel Knowledge Base Ingestion POSTService Retry Knowledge Base Ingestion POSTService Refresh Knowledge Base POST
List phone numbers GETCreate a new phone number POSTManually sync phone numbers POSTList phone numbers by provider GETDelete phone number DELETEUpdate phone number PUTService List Phone Numbers GETService Create Phone Number POSTService Sync Phone Numbers POSTService List Phone Numbers By Provider GETService Delete Phone Number DELETEService Update Phone Number PUT
Preview pricing based on selected models GET
Get Grouped Providers GETCreate Provider POSTGet Language Default GETFilter Providers GETList Model Voices GETGet Model Voice GETUpdate Provider PATCHDelete Provider DELETEGet Provider Models GETGet Provider Models Data GETCreate Model POSTUpdate Model PATCHDelete Model DELETE
Originate Call POSTService Originate Call POST
Incoming Call POSTIncoming Call POSTTwiml Callback POSTStatus POSTExotel Warm Transfer Gate GETExotel Warm Transfer Connect GETPlivo Transfer Xml POSTTwilio Warm Transfer Destination POSTTwilio Transfer Leg Callback POSTPlivo Warm Transfer Caller POSTPlivo Warm Transfer Destination POSTInitiate Call POSTService Initiate Call POST
Me GETSync all users to PostHog POSTList API keys GETCreate Api Key POSTUpdate Api Key PATCHDelete Api Key DELETEList secret keys GETGenerate a secret key POSTDelete a secret key DELETE
Get Wallet Balance GET
Start Session POSTStart Text Session POST
List all languages GETGet a language by ID GET
List IANA timezones GET
List Workspaces GETCreate Workspace POSTSwitch Workspace PATCHGet Current Workspace GETGet Workspace GETUpdate Workspace PATCHDelete Workspace DELETEList Workspace Members GETRemove Workspace Member DELETELeave Workspace POSTInvite Member POSTAccept Invitation POSTDecline Invitation POSTList Workspace Invites GETRevoke Workspace Invite POST
List Projects GETCreate Project POSTDelete Project PATCHRemove Project Member DELETEList Project Members GETAdd Project Member POST
Bulk update user is_active PATCHList all users GETCreate a user by email POSTBulk delete users DELETEGet a user GETList a user's workspaces GETList a user's projects GETList pricing details for completed, fully billed calls in a workspace GETList all workspaces GETCreate a workspace for a user POSTGet a workspace GETDelete a workspace DELETEList all projects in a workspace GETList all members of a workspace GETCreate a project in a workspace POSTGet a project GETDelete a project DELETEList all members of a project GETStart impersonating a user POSTStop impersonating and return to the admin session POST
List Event Types GETList Webhook Subscriptions GETCreate Webhook Subscription POSTList Delivery Logs GETGet Webhook Subscription GETUpdate Webhook Subscription PATCHDelete Webhook Subscription DELETEService List Event Types GETService List Webhook Subscriptions GETService Create Webhook Subscription POSTService List Delivery Logs GETService Get Webhook Subscription GETService Update Webhook Subscription PATCHService Delete Webhook Subscription DELETE
List Function Logs GETService List Function Logs GET
List Integrations GETFilter Integrations GETGet Language Default GETList Model Voices GETGet Model Voice GETGet Integration Models GETGet Integration Detail GETGet Schema GETList Credentials GETCreate Credential POSTGet Credential GETUpdate Credential PATCHDelete Credential DELETEService List Credentials GETService Create Credential POSTService Get Credential GETService Update Credential PATCHService Delete Credential DELETE
List function tools GETCreate function tool POSTGet function tool GETUpdate function tool PATCHList function tools GETCreate function tool POSTGet function tool GETUpdate function tool PATCH
Health Check GET
Get Schema GETGet Default GET
List Templates GETGenerate Scenario Drafts POSTList Scenarios GETCreate Scenario POSTUpdate Scenario PATCHDelete Scenario DELETEList Runs GETTrigger Run POSTRerun Run POSTAuto Eval Run POSTOptimize Prompt Run POSTOptimize Whole Run POSTList Proposals GETGet Run Proposal GETAccept Proposal POSTReject Proposal POSTCoverage GETGet Run GETGet Run Results GETStream Run Events GET

Getting Started

OverviewInstallationQuick Start

Core

Provider & Setup

Hooks

AgentsCrewsOutbound CallsCall HistoryPhone NumbersIntegration CredentialsWebhooksKnowledge BasesFunction ToolsFunction Logs

Realtime

Realtime

UI

Components

Reference

TypesUtilities
Go to platform
Workspaces

Get Current Workspace

GET/api/v1/workspaces/current

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/api/v1/workspaces/current"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "is_system_default": true,  "role": "string",  "team_members_count": 0,  "settings": {    "live_transcription_streaming_enabled": true  }}

Switch Workspace PATCH

Previous Page

Get Workspace GET

Next Page