Profile & bootstrap
Start here for auth validation, subject metadata, and agent bootstrap context before mutating accounts, categories, payees, or transactions.
`POST` and `PATCH` requests require an Idempotency-Key header. Responses return
an X-Request-Id header plus X-RateLimit-* headers, and errors follow
application/problem+json.
/v1/me Get the authenticated API subject
Example
curl -X GET "https://api.duitmyself.app/v1/me" \
-H "Authorization: Bearer key_..." \ Response schema · MeResponse
{
"type": "object",
"properties": {
"data": {
"$ref": "#/components/schemas/Me"
}
},
"required": [
"data"
]
}
`POST` and `PATCH` requests require an Idempotency-Key header. Responses return
an X-Request-Id header plus X-RateLimit-* headers, and errors follow
application/problem+json.
/v1/agent/context Bootstrap agent context
Parameters
-
includeArchivedinquery -
payeeLimitinquery -
recentTransactionLimitinquery
Example
curl -X GET "https://api.duitmyself.app/v1/agent/context" \
-H "Authorization: Bearer key_..." \ Response schema · AgentContextResponse
{
"type": "object",
"properties": {
"data": {
"$ref": "#/components/schemas/AgentContext"
}
},
"required": [
"data"
]
}