Skip to main content
PATCH
Update a source

Authorizations

Authorization
string
header
required

Secret key (sk_live_...)

Path Parameters

source_id
string
required

Unique identifier for the source (prefixed with src_).

Body

Request body for updating a source. Only include fields you want to change.

name
null | string

Updated display name.

url
null | string

Updated website URL.

Response

OK

A source object. Sources are websites or services that agents connect to.

id
string
required

Unique identifier for the source, prefixed with src_.

object
string
required

Always source.

name
null | string
required

Display name for the source.

type
string
required

The source type. website is currently the only supported type; it defaults to website if omitted.

website
object
required

Website configuration for the source.

created_at
string<date-time>
required

ISO 8601 timestamp of when the resource was created.

updated_at
string<date-time>
required

ISO 8601 timestamp of when the resource was last updated.

request_id
string
required

Unique identifier for the API request. Include this when contacting support.