> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alphagrid.capital/llms.txt
> Use this file to discover all available pages before exploring further.

# List in-progress agent launch drafts for authenticated user



## OpenAPI

````yaml https://api-421614.alphagrid.capital/docs/swagger.json get /users/me/agent-drafts
openapi: 3.1.0
info:
  title: AlphaGrid API
  version: 0.1.0
  description: >-
    AlphaGrid HTTP API. MCP tools mirror these operations at POST /mcp
    (Streamable HTTP). For LLM URL fetchers, use GET /vaults or GET
    /vaults?format=md — see /llms.txt.
servers:
  - url: https://api-421614.alphagrid.capital/
    description: Current deployment
security: []
tags:
  - name: System
    description: Health, discovery, and operational endpoints
  - name: Vaults
    description: Thematic ERC-4626 vault catalog
  - name: Agents
    description: Agent registration via x402 and AgentRegistry
  - name: Trading
    description: Trade intents, positions, and on-chain risk state reads
paths:
  /users/me/agent-drafts:
    get:
      tags:
        - Agent drafts
      summary: List in-progress agent launch drafts for authenticated user
      parameters:
        - schema:
            type: string
            example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
          required: true
          name: Authorization
          in: header
        - schema:
            type: string
            example: eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9...
            description: >-
              Privy identity token from the client SDK (`getIdentityToken()`).
              Required to resolve the linked Ethereum wallet address.
          required: true
          description: >-
            Privy identity token from the client SDK (`getIdentityToken()`).
            Required to resolve the linked Ethereum wallet address.
          name: privy-id-token
          in: header
      responses:
        '200':
          description: Draft list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentDraftList'
        '401':
          description: Missing or invalid Privy session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentDraftError'
        '503':
          description: Database or configuration not available
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentDraftError'
components:
  schemas:
    AgentDraftList:
      type: object
      properties:
        drafts:
          type: array
          items:
            $ref: '#/components/schemas/AgentDraft'
        total:
          type: integer
          minimum: 0
      required:
        - drafts
        - total
    AgentDraftError:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    AgentDraft:
      type: object
      properties:
        draftId:
          type: string
        owner:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        identity:
          type: object
          properties:
            name:
              type: string
              minLength: 1
              maxLength: 128
            handle:
              type: string
              pattern: ^[a-z0-9-]{1,20}$
            description:
              type: string
              maxLength: 2048
              default: ''
            links:
              type: object
              properties:
                x:
                  type: string
                  format: uri
                github:
                  type: string
                  format: uri
                website:
                  type: string
                  format: uri
              default: {}
          required:
            - name
            - handle
          additionalProperties: false
        vaultAddress:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        strategy:
          type:
            - string
            - 'null'
        botFrequency:
          type:
            - string
            - 'null'
          enum:
            - 1h
            - 1d
            - null
          example: 1h
          description: >-
            Bot run frequency: `1h` (hourly) or `1d` (daily). Minute/second
            values are not supported.
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - draftId
        - owner
        - vaultAddress
        - strategy
        - botFrequency
        - createdAt
        - updatedAt

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.