{"openapi":"3.1.0","info":{"title":"satoshis.watch Agent API","version":"1.0"},"paths":{"/api/watch/agent/v1/portfolio/cards":{"get":{"summary":"Agent List Portfolio Cards","operationId":"agent_list_portfolio_cards_api_wallet_plus_agent_v1_portfolio_cards_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agent List Portfolio Cards Api Wallet Plus Agent V1 Portfolio Cards Get"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"post":{"summary":"Agent Create Portfolio Card","operationId":"agent_create_portfolio_card_api_wallet_plus_agent_v1_portfolio_cards_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPortfolioCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agent Create Portfolio Card Api Wallet Plus Agent V1 Portfolio Cards Post"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional 16–128 character key; identical replay is safe for 24 hours.","schema":{"type":"string","minLength":16,"maxLength":128,"pattern":"^[A-Za-z0-9._~-]+$"}}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/docs":{"get":{"summary":"Agent Api Docs","operationId":"agent_api_docs_api_wallet_plus_agent_v1_docs_get","responses":{"200":{"description":"Successful Response","content":{"text/markdown":{"schema":{"type":"string"}}}}}},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/me":{"get":{"summary":"Agent Me","operationId":"agent_me_api_wallet_plus_agent_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMe"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/history":{"get":{"summary":"Agent History","operationId":"agent_history_api_wallet_plus_agent_v1_history_get","parameters":[{"name":"force_refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent History Api Wallet Plus Agent V1 History Get"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/history/cards":{"get":{"summary":"Agent History Cards","operationId":"agent_history_cards_api_wallet_plus_agent_v1_history_cards_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agent History Cards Api Wallet Plus Agent V1 History Cards Get"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/history/cards/{card_id}/transactions":{"get":{"summary":"Agent History Card Transactions","operationId":"agent_history_card_transactions_api_wallet_plus_agent_v1_history_cards__card_id__transactions_get","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent History Card Transactions Api Wallet Plus Agent V1 History Cards  Card Id  Transactions Get"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/history/notes/batch":{"post":{"summary":"Agent Read Transaction Notes","operationId":"agent_read_transaction_notes_api_wallet_plus_agent_v1_history_notes_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionNoteBatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agent Read Transaction Notes Api Wallet Plus Agent V1 History Notes Batch Post"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/history/notes/{txid}":{"put":{"summary":"Agent Upsert Transaction Note","operationId":"agent_upsert_transaction_note_api_wallet_plus_agent_v1_history_notes__txid__put","parameters":[{"name":"txid","in":"path","required":true,"schema":{"type":"string","title":"Txid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionNoteWriteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Upsert Transaction Note Api Wallet Plus Agent V1 History Notes  Txid  Put"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"delete":{"summary":"Agent Delete Transaction Note","operationId":"agent_delete_transaction_note_api_wallet_plus_agent_v1_history_notes__txid__delete","parameters":[{"name":"txid","in":"path","required":true,"schema":{"type":"string","title":"Txid"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional 16–128 character key; identical replay is safe for 24 hours.","schema":{"type":"string","minLength":16,"maxLength":128,"pattern":"^[A-Za-z0-9._~-]+$"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Delete Transaction Note Api Wallet Plus Agent V1 History Notes  Txid  Delete"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[{"name":"txid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/events":{"get":{"summary":"Agent Events","operationId":"agent_events_api_wallet_plus_agent_v1_events_get","parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentEventPage"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/portfolio/cards/{card_id}":{"get":{"summary":"Agent Get Portfolio Card","operationId":"agent_get_portfolio_card_api_wallet_plus_agent_v1_portfolio_cards__card_id__get","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}}],"responses":{"200":{"description":"The requested resource is wrapped in a top-level `card` object.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Get Portfolio Card Api Wallet Plus Agent V1 Portfolio Cards  Card Id  Get"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"patch":{"summary":"Agent Edit Portfolio Card","operationId":"agent_edit_portfolio_card_api_wallet_plus_agent_v1_portfolio_cards__card_id__patch","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCardEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Edit Portfolio Card Api Wallet Plus Agent V1 Portfolio Cards  Card Id  Patch"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"delete":{"summary":"Agent Delete Portfolio Card","operationId":"agent_delete_portfolio_card_api_wallet_plus_agent_v1_portfolio_cards__card_id__delete","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional 16–128 character key; identical replay is safe for 24 hours.","schema":{"type":"string","minLength":16,"maxLength":128,"pattern":"^[A-Za-z0-9._~-]+$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCardDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Agent Delete Portfolio Card Api Wallet Plus Agent V1 Portfolio Cards  Card Id  Delete"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/bookmark-spaces/{space_id}/sheet":{"get":{"summary":"Agent Get Sheet","operationId":"agent_get_sheet_api_wallet_plus_agent_v1_bookmark_spaces__space_id__sheet_get","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset","minimum":0,"maximum":999},"description":"Inclusive row-slot index; continue with next_offset."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit","minimum":1,"maximum":100},"description":"Dense page size. Sparse/filter views validate but ignore this value; they return at most 200 rows and 256 KiB of row data."},{"name":"view","in":"query","required":false,"schema":{"type":"string","default":"","title":"View","enum":["","sparse"]}},{"name":"address","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"}},{"name":"chain","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSheetPage"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"patch":{"summary":"Agent Update Sheet","operationId":"agent_update_sheet_api_wallet_plus_agent_v1_bookmark_spaces__space_id__sheet_patch","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SheetPatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSheetPatchResult"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"STALE_VERSION: fresh-read and re-identify the intended row before one safe retry. CONFLICT: stop; PUT duplicate Address+Blockchain matches and a full Sheet share this code and have no distinct machine-readable subcodes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"put":{"summary":"Agent Upsert Sheet Row","operationId":"agent_upsert_sheet_row_api_wallet_plus_agent_v1_bookmark_spaces__space_id__sheet_put","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSheetUpsertRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSheetUpsertResult"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"STALE_VERSION: fresh-read and re-identify the intended row before one safe retry. CONFLICT: stop; PUT duplicate Address+Blockchain matches and a full Sheet share this code and have no distinct machine-readable subcodes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"delete":{"summary":"Agent Delete Sheet Row","operationId":"agent_delete_sheet_row_api_wallet_plus_agent_v1_bookmark_spaces__space_id__sheet_delete","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSheetDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSheetDeleteResult"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"STALE_VERSION: fresh-read and re-identify the intended row before one safe retry. CONFLICT: stop; PUT duplicate Address+Blockchain matches and a full Sheet share this code and have no distinct machine-readable subcodes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"post":{"summary":"Agent Compact Sheet","operationId":"agent_compact_sheet_api_wallet_plus_agent_v1_bookmark_spaces__space_id__sheet_post","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSheetRevisionRequest"}}}},"responses":{"200":{"description":"Compaction result. If already compact, revision stays unchanged and moved_rows is 0.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSheetCompactResult"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"STALE_VERSION: fresh-read and re-identify the intended row before one safe retry. CONFLICT: stop; PUT duplicate Address+Blockchain matches and a full Sheet share this code and have no distinct machine-readable subcodes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/bookmark-spaces":{"get":{"summary":"Agent List Bookmark Spaces","operationId":"agent_list_bookmark_spaces_api_wallet_plus_agent_v1_bookmark_spaces_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agent List Bookmark Spaces Api Wallet Plus Agent V1 Bookmark Spaces Get"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"post":{"summary":"Agent Create Bookmark Space","operationId":"agent_create_bookmark_space_api_wallet_plus_agent_v1_bookmark_spaces_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentBookmarkSpaceCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agent Create Bookmark Space Api Wallet Plus Agent V1 Bookmark Spaces Post"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional 16–128 character key; identical replay is safe for 24 hours.","schema":{"type":"string","minLength":16,"maxLength":128,"pattern":"^[A-Za-z0-9._~-]+$"}}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/bookmark-spaces/{space_id}":{"patch":{"summary":"Agent Rename Bookmark Space","operationId":"agent_rename_bookmark_space_api_wallet_plus_agent_v1_bookmark_spaces__space_id__patch","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentBookmarkSpaceRenameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Rename Bookmark Space Api Wallet Plus Agent V1 Bookmark Spaces  Space Id  Patch"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"delete":{"summary":"Agent Delete Bookmark Space","operationId":"agent_delete_bookmark_space_api_wallet_plus_agent_v1_bookmark_spaces__space_id__delete","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional 16–128 character key; identical replay is safe for 24 hours.","schema":{"type":"string","minLength":16,"maxLength":128,"pattern":"^[A-Za-z0-9._~-]+$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentBookmarkSpaceDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Delete Bookmark Space Api Wallet Plus Agent V1 Bookmark Spaces  Space Id  Delete"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"get":{"summary":"Agent Get Bookmark Space","operationId":"agent_get_bookmark_space_api_wallet_plus_agent_v1_bookmark_spaces__space_id__get","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}}],"responses":{"200":{"description":"The requested resource is wrapped in a top-level `space` object.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Get Bookmark Space Api Wallet Plus Agent V1 Bookmark Spaces  Space Id  Get"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/bookmark-spaces/{space_id}/cards":{"get":{"summary":"Agent List Bookmark Cards","operationId":"agent_list_bookmark_cards_api_wallet_plus_agent_v1_bookmark_spaces__space_id__cards_get","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent List Bookmark Cards Api Wallet Plus Agent V1 Bookmark Spaces  Space Id  Cards Get"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"post":{"summary":"Agent Create Bookmark Card","operationId":"agent_create_bookmark_card_api_wallet_plus_agent_v1_bookmark_spaces__space_id__cards_post","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional 16–128 character key; identical replay is safe for 24 hours.","schema":{"type":"string","minLength":16,"maxLength":128,"pattern":"^[A-Za-z0-9._~-]+$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentBookmarkCardCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Create Bookmark Card Api Wallet Plus Agent V1 Bookmark Spaces  Space Id  Cards Post"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/bookmark-spaces/{space_id}/cards/{card_id}":{"get":{"summary":"Agent Get Bookmark Card","operationId":"agent_get_bookmark_card_api_wallet_plus_agent_v1_bookmark_spaces__space_id__cards__card_id__get","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}},{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}}],"responses":{"200":{"description":"The requested resource is wrapped in a top-level `card` object.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Get Bookmark Card Api Wallet Plus Agent V1 Bookmark Spaces  Space Id  Cards  Card Id  Get"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"patch":{"summary":"Agent Edit Bookmark Card","operationId":"agent_edit_bookmark_card_api_wallet_plus_agent_v1_bookmark_spaces__space_id__cards__card_id__patch","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}},{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCardEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Edit Bookmark Card Api Wallet Plus Agent V1 Bookmark Spaces  Space Id  Cards  Card Id  Patch"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"delete":{"summary":"Agent Delete Bookmark Card","operationId":"agent_delete_bookmark_card_api_wallet_plus_agent_v1_bookmark_spaces__space_id__cards__card_id__delete","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}},{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional 16–128 character key; identical replay is safe for 24 hours.","schema":{"type":"string","minLength":16,"maxLength":128,"pattern":"^[A-Za-z0-9._~-]+$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCardDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Agent Delete Bookmark Card Api Wallet Plus Agent V1 Bookmark Spaces  Space Id  Cards  Card Id  Delete"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"card_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/cards/move":{"post":{"summary":"Agent Move Card","operationId":"agent_move_card_api_wallet_plus_agent_v1_cards_move_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCardMoveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agent Move Card Api Wallet Plus Agent V1 Cards Move Post"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional 16–128 character key; identical replay is safe for 24 hours.","schema":{"type":"string","minLength":16,"maxLength":128,"pattern":"^[A-Za-z0-9._~-]+$"}}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/portfolio/cards/validate":{"post":{"summary":"Agent Validate Portfolio Create","operationId":"agent_validate_portfolio_create_api_wallet_plus_agent_v1_portfolio_cards_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPortfolioCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Response Agent Validate Portfolio Create Api Wallet Plus Agent V1 Portfolio Cards Validate Post"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/bookmark-spaces/{space_id}/cards/validate":{"post":{"summary":"Agent Validate Bookmark Create","operationId":"agent_validate_bookmark_create_api_wallet_plus_agent_v1_bookmark_spaces__space_id__cards_validate_post","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentBookmarkCardCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Agent Validate Bookmark Create Api Wallet Plus Agent V1 Bookmark Spaces  Space Id  Cards Validate Post"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}},"/api/watch/agent/v1/cards/move/validate":{"post":{"summary":"Agent Validate Move","operationId":"agent_validate_move_api_wallet_plus_agent_v1_cards_move_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCardMoveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Response Agent Validate Move Api Wallet Plus Agent V1 Cards Move Validate Post"}}}},"422":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"400":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"401":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"403":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"405":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"409":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"429":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}},"503":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}},"security":[{"AgentBearer":[]}]},"options":{"summary":"List allowed methods","parameters":[],"responses":{"204":{"description":"Allowed methods","headers":{"Allow":{"schema":{"type":"string"}}}},"404":{"description":"Agent API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentError"}}}}}}}},"components":{"schemas":{"AgentBookmarkCardCreateRequest":{"properties":{"expected_space_version":{"type":"string","title":"Expected Space Version"},"address":{"type":"string","title":"Address"},"coin_id":{"type":"string","title":"Coin Id","default":"unknown"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"note":{"type":"string","title":"Note","default":""},"color_key":{"anyOf":[{"type":"string","enum":["amber","green","blue","rose","violet","teal","slate","orange","cyan","pink"]},{"type":"null"}],"title":"Color Key"}},"type":"object","required":["expected_space_version","address"],"title":"AgentBookmarkCardCreateRequest"},"AgentBookmarkSpaceCreateRequest":{"properties":{"expected_bookmark_revision":{"type":"string","title":"Expected Bookmark Revision"},"name":{"type":"string","title":"Name"},"type":{"type":"string","enum":["bitcoin","altcoin","sheet"],"title":"Type","default":"bitcoin"}},"type":"object","required":["expected_bookmark_revision","name"],"title":"AgentBookmarkSpaceCreateRequest"},"AgentBookmarkSpaceDeleteRequest":{"properties":{"expected_bookmark_revision":{"type":"string","title":"Expected Bookmark Revision"},"expected_space_version":{"type":"string","title":"Expected Space Version"},"confirm_delete_cards":{"type":"boolean","title":"Confirm Delete Cards"}},"type":"object","required":["expected_bookmark_revision","expected_space_version","confirm_delete_cards"],"title":"AgentBookmarkSpaceDeleteRequest"},"AgentBookmarkSpaceRenameRequest":{"properties":{"expected_bookmark_revision":{"type":"string","title":"Expected Bookmark Revision"},"name":{"type":"string","title":"Name"}},"additionalProperties":false,"type":"object","required":["expected_bookmark_revision","name"],"title":"AgentBookmarkSpaceRenameRequest"},"AgentCardDeleteRequest":{"properties":{"expected_version":{"type":"string","title":"Expected Version"}},"type":"object","required":["expected_version"],"title":"AgentCardDeleteRequest"},"AgentCardEditRequest":{"properties":{"expected_version":{"type":"string","title":"Expected Version"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"color_key":{"anyOf":[{"type":"string","enum":["amber","green","blue","rose","violet","teal","slate","orange","cyan","pink"]},{"type":"null"}],"title":"Color Key"}},"type":"object","required":["expected_version"],"title":"AgentCardEditRequest"},"AgentCardMoveRequest":{"properties":{"source_kind":{"type":"string","enum":["portfolio","bookmark"],"title":"Source Kind"},"source_id":{"type":"string","title":"Source Id"},"source_space_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Space Id"},"destination_kind":{"type":"string","enum":["portfolio","bookmark"],"title":"Destination Kind"},"destination_space_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Space Id"},"expected_source_version":{"type":"string","title":"Expected Source Version","description":"Source card version, including space-to-space moves; never the source Space version."},"expected_destination_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Destination Version","description":"Destination Space version; required when destination_kind is bookmark."}},"type":"object","required":["source_kind","source_id","destination_kind","expected_source_version"],"title":"AgentCardMoveRequest"},"AgentPortfolioCreateRequest":{"properties":{"address":{"type":"string","title":"Address"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"note":{"type":"string","title":"Note","default":""},"color_key":{"anyOf":[{"type":"string","enum":["amber","green","blue","rose","violet","teal","slate","orange","cyan","pink"]},{"type":"null"}],"title":"Color Key"}},"type":"object","required":["address"],"title":"AgentPortfolioCreateRequest"},"AgentSheetDeleteRequest":{"properties":{"expected_revision":{"type":"integer","title":"Expected Revision"},"index":{"type":"integer","title":"Index"}},"type":"object","required":["expected_revision","index"],"title":"AgentSheetDeleteRequest"},"AgentSheetRevisionRequest":{"properties":{"expected_revision":{"type":"integer","title":"Expected Revision"}},"type":"object","required":["expected_revision"],"title":"AgentSheetRevisionRequest"},"AgentSheetUpsertRequest":{"properties":{"expected_revision":{"type":"integer","title":"Expected Revision"},"cells":{"type":"array","minItems":5,"maxItems":5,"items":{"type":"string","maxLength":512},"description":"Exact lookup key is the nonempty Address and Blockchain cells."}},"type":"object","required":["expected_revision","cells"],"title":"AgentSheetUpsertRequest"},"SheetPatchRequest":{"properties":{"expected_revision":{"type":"integer","title":"Expected Revision"},"headers":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Headers"},"rows":{"anyOf":[{"type":"array","minItems":1,"maxItems":100,"items":{"$ref":"#/components/schemas/AgentSheetRow"}},{"type":"null"}]}},"type":"object","required":["expected_revision"],"title":"SheetPatchRequest"},"TransactionNoteBatchRequest":{"properties":{"txids":{"items":{"type":"string"},"type":"array","title":"Txids"}},"type":"object","required":["txids"],"title":"TransactionNoteBatchRequest"},"TransactionNoteWriteRequest":{"properties":{"note":{"type":"string","title":"Note"}},"type":"object","required":["note"],"title":"TransactionNoteWriteRequest"},"AgentError":{"type":"object","required":["error","code"],"properties":{"error":{"type":"string"},"code":{"type":"string"},"retry_after_s":{"type":"integer"},"details":{"type":"array","items":{"type":"object"}}}},"AgentMe":{"type":"object","required":["key_id","key_access","scopes","portfolio_cards","bookmark_spaces","rate_limit"],"properties":{"key_id":{"type":"string","format":"uuid"},"key_access":{"type":"string","enum":["read","write"]},"scopes":{"type":"object","required":["portfolio","bookmark_spaces"],"properties":{"portfolio":{"type":"array","items":{"type":"object","required":["id","effective_access"],"properties":{"id":{"type":"string","format":"uuid"},"effective_access":{"type":"string","enum":["read","write"]}}}},"bookmark_spaces":{"type":"array","items":{"type":"object","required":["id","name","type","effective_access"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"effective_access":{"type":"string","enum":["read","write"]}}}}}},"portfolio_cards":{"type":"object","required":["used","limit"],"properties":{"used":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":0}}},"bookmark_spaces":{"type":"object","required":["used","limit"],"description":"Account-wide stored Space count and current plan limit; hidden Space IDs remain private.","properties":{"used":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":0}}},"rate_limit":{"type":"object","required":["window_s","remaining"],"properties":{"window_s":{"type":"integer"},"remaining":{"type":["integer","null"]}}}}},"AgentSheetRow":{"type":"object","required":["index","cells"],"additionalProperties":false,"properties":{"index":{"type":"integer","minimum":0,"maximum":999},"cells":{"type":"array","minItems":5,"maxItems":5,"items":{"type":"string","maxLength":512}}}},"AgentSheetPage":{"type":"object","required":["space_id","headers","revision","row_count","column_count","rows","next_offset"],"properties":{"space_id":{"type":"string","format":"uuid"},"headers":{"type":"array","minItems":5,"maxItems":5,"items":{"type":"string"}},"revision":{"type":"integer","minimum":0},"row_count":{"type":"integer","const":1000},"column_count":{"type":"integer","const":5},"rows":{"type":"array","items":{"$ref":"#/components/schemas/AgentSheetRow"}},"next_offset":{"type":["integer","null"]}}},"AgentSheetPatchResult":{"type":"object","required":["space_id","headers","revision","updated_rows"],"additionalProperties":false,"properties":{"space_id":{"type":"string","format":"uuid"},"headers":{"type":"array","minItems":5,"maxItems":5,"items":{"type":"string"}},"revision":{"type":"integer","minimum":0},"updated_rows":{"type":"array","maxItems":100,"items":{"$ref":"#/components/schemas/AgentSheetRow"}}},"example":{"space_id":"00000000-0000-4000-8000-000000000001","headers":["Address","Blockchain","Transaction ID","Date","Notes"],"revision":1,"updated_rows":[{"index":7,"cells":["address","Bitcoin","","","note"]}]}},"AgentSheetUpsertResult":{"type":"object","required":["space_id","revision","index","created","cells"],"additionalProperties":false,"properties":{"space_id":{"type":"string","format":"uuid"},"revision":{"type":"integer","minimum":0},"index":{"type":"integer","minimum":0,"maximum":999},"created":{"type":"boolean"},"cells":{"type":"array","minItems":5,"maxItems":5,"items":{"type":"string","maxLength":512}}},"example":{"space_id":"00000000-0000-4000-8000-000000000001","revision":2,"index":0,"created":true,"cells":["address","Bitcoin","","","note"]}},"AgentSheetDeleteResult":{"type":"object","required":["space_id","revision","deleted_index","shifted_rows"],"additionalProperties":false,"properties":{"space_id":{"type":"string","format":"uuid"},"revision":{"type":"integer","minimum":0},"deleted_index":{"type":"integer","minimum":0,"maximum":999},"shifted_rows":{"type":"integer","minimum":0,"maximum":999}},"example":{"space_id":"00000000-0000-4000-8000-000000000001","revision":3,"deleted_index":0,"shifted_rows":1}},"AgentSheetCompactResult":{"type":"object","required":["space_id","revision","moved_rows"],"additionalProperties":false,"properties":{"space_id":{"type":"string","format":"uuid"},"revision":{"type":"integer","minimum":0},"moved_rows":{"type":"integer","minimum":0,"maximum":1000}},"example":{"space_id":"00000000-0000-4000-8000-000000000001","revision":3,"moved_rows":0}},"AgentEventPage":{"type":"object","required":["events","next_since","has_more"],"properties":{"events":{"type":"array","items":{"type":"object","required":["id","type","at"],"properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["portfolio_changed","bookmark_changed","cards_changed","scope_changed"]},"at":{"type":"string","format":"date-time"}}}},"next_since":{"type":"string"},"has_more":{"type":"boolean"}}}},"securitySchemes":{"AgentBearer":{"type":"http","scheme":"bearer","bearerFormat":"API key"}}}}