Skip to main content
PUT
Overwrite an existing attachment by path (stable attachment_id)

Authorizations

Authorization
string
header
required

Enter your API key (e.g. dai_sk_test_key_001)

Headers

Authorization
string
X-Workspace-Id
string | null

Path Parameters

skill_id
string
required
file_path
string
required

Cookies

decimal_session
string | null

Body

application/json

Request to overwrite an existing attachment's content (PUT).

content_text
string
required

New file content as text

content_type
string | null

MIME type (kept if omitted)

is_executable
boolean | null

Override executability flag

execution_language
string | null

Override execution language

Response

Successful Response