Skip to main content
GET
Retrieve ai chat
Required permissions:
  • ai_chat:read

인증

Authorization
string
header
필수

An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.

Scopes

ai_chat:read

경로 매개변수

id
string
필수

The unique identifier of the AI chat to retrieve.

예시:

"aich_xxxxxxxxxxxxx"

응답

A successful response

An AI-powered chat conversation belonging to a user, with optional scheduled automation.

agent_identifier
enum<string>
필수

The AI agent that handles this chat. Set when the chat is created and fixed for its lifetime.

사용 가능한 옵션:
general,
support
blended_token_usage
string
필수

The total number of tokens consumed across all messages in this conversation.

예시:

"123.45"

created_at
string<date-time>
필수

The datetime the ai chat was created.

예시:

"2023-12-01T05:00:00.401Z"

id
string
필수

The unique identifier for the ai chat.

예시:

"aich_xxxxxxxxxxxxx"

last_message_at
string<date-time> | null
필수

The timestamp of the most recent message in this conversation. Null if no messages have been sent yet.

예시:

"2023-12-01T05:00:00.401Z"

message_count
integer
필수

The total number of messages exchanged in this conversation.

예시:

42

notification_preference
enum<string>
필수

The notification preference for this AI chat. all delivers AI chat notifications and badges, while none mutes them.

사용 가능한 옵션:
all,
none
title
string | null
필수

A short descriptive title for this AI chat conversation. Null if no title has been set.

예시:

"Weekly Revenue Analysis"

updated_at
string<date-time>
필수

The datetime the ai chat was last updated.

예시:

"2023-12-01T05:00:00.401Z"

user
object
필수

The user who owns this AI chat conversation.