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

# Post v1agentsapibudget builds relay

> Browser owner session required. Available only when the Base Agent API runtime gate is enabled and verified.



## OpenAPI

````yaml /openapi/platform.json post /v1/agents/api/budget-builds/{buildId}/relay
openapi: 3.1.0
info:
  title: GOL Platform API
  description: >-
    Versioned GOL developer and consumer API. Consumer routes are mounted when
    their runtime integrations are configured.
  version: 0.8.0-rc.1
servers:
  - url: http://localhost:4100
    description: Local development
security: []
tags:
  - name: system
  - name: authentication
  - name: projects
  - name: api-keys
  - name: audit
  - name: gas-executions
  - name: gas-policies
  - name: webhooks
paths:
  /v1/agents/api/budget-builds/{buildId}/relay:
    post:
      tags:
        - Agent API
      description: >-
        Browser owner session required. Available only when the Base Agent API
        runtime gate is enabled and verified.
      operationId: relayAgentApiBudgetBuild
      parameters:
        - name: accountId
          in: query
          required: false
          schema:
            type: string
        - name: chainId
          in: query
          required: true
          schema:
            type: integer
            enum:
              - 8453
              - 84532
        - name: buildId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                accountId:
                  type: string
                chainId:
                  type: integer
                  enum:
                    - 8453
                    - 84532
                signed:
                  type: object
                  properties:
                    userOp:
                      $ref: '#/components/schemas/UnsignedOwnerUserOp'
                    userOpHash:
                      pattern: ^0x[0-9a-fA-F]{64}$
                      type: string
                  required:
                    - userOp
                    - userOpHash
              required:
                - accountId
                - chainId
                - signed
      responses:
        '200':
          description: Current authoritative state or accepted request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnerUserOpReceipt'
        '400':
          description: Invalid request.
        '401':
          description: Session required.
        '403':
          description: Access denied.
        '409':
          description: Capability unavailable or conflict.
      security:
        - bearerAuth: []
components:
  schemas:
    UnsignedOwnerUserOp:
      type: object
      properties:
        chainId:
          type: integer
          enum:
            - 8453
            - 84532
        sender:
          pattern: ^0x[0-9a-fA-F]{40}$
          type: string
        nonce:
          type: string
          pattern: ^(0|[1-9][0-9]*|0x[0-9a-fA-F]+)$
        callData:
          type: string
          pattern: ^0x(?:[0-9a-fA-F]{2})*$
        signature:
          type: string
          pattern: ^0x(?:[0-9a-fA-F]{2})*$
        entryPoint:
          pattern: ^0x[0-9a-fA-F]{40}$
          type: string
        factory:
          oneOf:
            - pattern: ^0x[0-9a-fA-F]{40}$
              type: string
            - type: 'null'
        factoryData:
          oneOf:
            - type: string
              pattern: ^0x(?:[0-9a-fA-F]{2})*$
            - type: 'null'
        paymaster:
          oneOf:
            - pattern: ^0x[0-9a-fA-F]{40}$
              type: string
            - type: 'null'
        paymasterData:
          oneOf:
            - type: string
              pattern: ^0x(?:[0-9a-fA-F]{2})*$
            - type: 'null'
        callGasLimit:
          type: string
          pattern: ^(0|[1-9][0-9]*|0x[0-9a-fA-F]+)$
        verificationGasLimit:
          type: string
          pattern: ^(0|[1-9][0-9]*|0x[0-9a-fA-F]+)$
        preVerificationGas:
          type: string
          pattern: ^(0|[1-9][0-9]*|0x[0-9a-fA-F]+)$
        paymasterVerificationGasLimit:
          oneOf:
            - type: string
              pattern: ^(0|[1-9][0-9]*|0x[0-9a-fA-F]+)$
            - type: 'null'
        paymasterPostOpGasLimit:
          oneOf:
            - type: string
              pattern: ^(0|[1-9][0-9]*|0x[0-9a-fA-F]+)$
            - type: 'null'
        maxFeePerGas:
          type: string
          pattern: ^(0|[1-9][0-9]*|0x[0-9a-fA-F]+)$
        maxPriorityFeePerGas:
          type: string
          pattern: ^(0|[1-9][0-9]*|0x[0-9a-fA-F]+)$
      required:
        - chainId
        - sender
        - nonce
        - callData
        - signature
        - entryPoint
        - callGasLimit
        - verificationGasLimit
        - preVerificationGas
        - maxFeePerGas
        - maxPriorityFeePerGas
    OwnerUserOpReceipt:
      type: object
      properties:
        id:
          format: uuid
          type: string
        userOpHash:
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
        status:
          type: string
          enum:
            - pending
            - indeterminate
            - included
            - failed
        txHash:
          oneOf:
            - pattern: ^0x[0-9a-fA-F]{64}$
              type: string
            - type: 'null'
        submittedAt:
          format: date-time
          type: string
        error:
          oneOf:
            - type: string
              enum:
                - User operation failed.
            - type: 'null'
      required:
        - id
        - userOpHash
        - status
        - txHash
        - submittedAt
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Opaque owner, CLI, or agent session token. Agent tokens are accepted
        only where marked.

````

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