openapi: 3.1.0 info: title: Anything Assets User API version: 0.1.0 description: The Anything API is the fastest way for agents to build and launch mobile and web apps. servers: - url: / tags: - name: User paths: /v0/api/me: get: summary: Get current user info description: Returns the authenticated user and their organizations, including plan and credit context. tags: - User security: - basicAuth: [] responses: '200': description: Current user context content: application/json: schema: type: object properties: id: type: string format: uuid email: type: - string - 'null' name: type: - string - 'null' organizations: type: array items: type: object properties: id: type: string format: uuid name: type: string plan: type: string planDisplayName: type: string isPaid: type: boolean creditsBalance: type: integer required: - id - name - plan - planDisplayName - isPaid - creditsBalance required: - id - email - name - organizations '400': description: Invalid request content: application/json: schema: type: object properties: error: type: string details: type: array items: {} message: type: string required: - error '401': description: Unauthorized content: application/json: schema: type: object properties: error: type: string details: type: array items: {} message: type: string required: - error '403': description: Forbidden content: application/json: schema: type: object properties: error: type: string details: type: array items: {} message: type: string required: - error '404': description: Not found — the referenced resource does not exist (including malformed resource IDs) content: application/json: schema: type: object properties: error: type: string details: type: array items: {} message: type: string required: - error components: securitySchemes: basicAuth: type: http scheme: basic description: 'Use your Anything API key as the Basic auth username and leave the password empty. Example credentials: anything_xxx:'