Below we provide example Bark Financial API routes. For LLM use, these are translated to tool definitions in Python.
GET /user/idObtain an id for the user. A user id is required to call other endpoints that return or modify user specific data.
When used by a LLM agent, the harness will manage the user id. The agent may use the special string <user_id> as a placeholder in subsequent requests. If a user id is not available, all requests that require one will immediately fail.
User id will automatically be available for logged in users.
first_name: Stringmiddle_name: Stringfamily_name: Stringdob: Stringssn_last_lour: Integer200 OK401 Unauthorized400 Bad Request422 Unprocessable EntityPOST /user/mfa-smsSend a multi factor authentication code to the user’s phone number on file.