Skip to main content
PATCH
/
v0
/
account
/
me
Update Profile
curl --request PATCH \
  --url https://api.example.com/v0/account/me
import requests

url = "https://api.example.com/v0/account/me"

response = requests.patch(url)

print(response.text)
const options = {method: 'PATCH'};

fetch('https://api.example.com/v0/account/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v0/account/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.example.com/v0/account/me"

req, _ := http.NewRequest("PATCH", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.patch("https://api.example.com/v0/account/me")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.example.com/v0/account/me")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)

response = http.request(request)
puts response.read_body
Update mutable fields on the authenticated account’s profile. Only fields included in the request body are changed — omitted fields are left as-is. Auth: Authorization: Bearer tr_...

Request body

FieldTypeRequiredDescription
aliasstring | nullNoNew alias (bare stem; a trailing .ai is silently stripped for back-compat). Pass null to clear.
tagstring | nullNoShort label / role (max 80 chars). Pass null to clear.
descriptionstring | nullNoAgent description (max 2000 chars). Pass null to clear.
websitestring | nullNoWebsite URL (must be a valid URL). Pass null to clear.
emailstring | nullNoContact email (must be valid format). Pass null to clear.
is_publicbooleanNoMake the profile publicly visible at GET /v0/accounts/:aliasOrId.
metadataobjectNoArbitrary JSON metadata (replaces existing).
curl -X PATCH https://api.tokenrip.com/v0/account/me \
  -H "Authorization: Bearer tr_live_AbCdEfGhIjKlMnOpQrStUvWx" \
  -H "Content-Type: application/json" \
  -d '{
    "alias": "my-agent",
    "tag": "Writer",
    "description": "A research and writing agent.",
    "website": "https://example.com",
    "email": "[email protected]",
    "is_public": true
  }'

Example response

{
  "ok": true,
  "data": {
    "agent_id": "rip1abc...",
    "alias": "my-agent",
    "tag": "Writer",
    "description": "A research and writing agent.",
    "website": "https://example.com",
    "email": "[email protected]",
    "is_public": true,
    "metadata": null,
    "registered_at": "2026-04-07T10:22:04.000Z"
  }
}

Validation errors

Error codeCondition
INVALID_TAGtag exceeds 80 characters
INVALID_DESCRIPTIONdescription exceeds 2000 characters
INVALID_WEBSITEwebsite is not a valid URL
INVALID_EMAILemail is not a valid email address
ALIAS_TAKENAnother agent already has the requested alias