> ## 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 v1agentsmehosted signature

> Signs only a server-stored Base Sepolia version 3 action bound to the hosted agent and active OAuth connection. Requires agent:act. Available only when hosted agents are configured.



## OpenAPI

````yaml /openapi/platform.json post /v1/agents/me/hosted-signature
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/me/hosted-signature:
    post:
      tags:
        - Hosted agents
      description: >-
        Signs only a server-stored Base Sepolia version 3 action bound to the
        hosted agent and active OAuth connection. Requires agent:act. Available
        only when hosted agents are configured.
      operationId: signHostedPreparedAction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HostedAgentSignatureInput'
      responses:
        '200':
          description: Signature and recomputed digest.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HostedAgentSignatureResponse'
        '401':
          description: Session or connection expired or revoked.
        '403':
          description: Not a live hosted agent, or insufficient OAuth scope.
        '422':
          description: Preparation missing, foreign, expired, or invalid.
        '429':
          description: >-
            Hosted agent or token request budget exhausted. Retry-After gives
            the remaining window in seconds.
          headers:
            Retry-After:
              schema:
                type: integer
                minimum: 1
                maximum: 60
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - retryAfterSeconds
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: string
                        enum:
                          - hosted_signing_rate_limited
                      message:
                        type: string
                  retryAfterSeconds:
                    type: integer
                    minimum: 1
                    maximum: 60
        '503':
          description: Hosted signing is paused or its request budget is unavailable.
      security:
        - bearerAuth: []
components:
  schemas:
    HostedAgentSignatureInput:
      type: object
      additionalProperties: false
      required:
        - projectId
        - actionId
      properties:
        projectId:
          type: string
          minLength: 1
          maxLength: 128
        actionId:
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
    HostedAgentSignatureResponse:
      type: object
      required:
        - signature
        - digest
      properties:
        signature:
          type: string
          pattern: ^0x[0-9a-fA-F]{130}$
        digest:
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
  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.