Skip to main content
GET
Get Agent

Overview

Retrieves complete configuration for a single agent by ID. Includes all settings, languages, voice configuration, and related metadata. Authentication: Session-based (Better Auth) Scope: Active organization from session

Request

Path Parameters: Headers:

Response

Status: 200 OK

Response Fields

Access Control

403 Response:

Error Responses

401 Unauthorized

403 Forbidden

404 Not Found

500 Server Error

Examples

cURL

JavaScript (Fetch)

Next.js (Server Component)

Use Cases

Display Agent Configuration

Check Agent Permissions

Authorizations

x-api-key
string
header
required

Your TalkifAI API key. Generate from Studio → Settings → API Keys. Format: tk_live_...

Path Parameters

agentId
string
required

Response

Agent details

success
boolean
data
object