> ## 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 v1projects gas policies children



## OpenAPI

````yaml /openapi/platform.json post /v1/projects/{projectId}/gas-policies/{gasPolicyId}/children
openapi: 3.1.0
info:
  title: GOL Platform API
  description: >-
    Public API for GOL developer projects, credentials, owner gas policies,
    hosted gas executions, and webhooks.
  version: 0.5.0
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/projects/{projectId}/gas-policies/{gasPolicyId}/children:
    post:
      tags:
        - gas-policies
      operationId: submitChildMandate
      parameters:
        - schema:
            format: uuid
            type: string
          in: path
          name: projectId
          required: true
        - schema:
            pattern: ^0x[0-9a-fA-F]{64}$
            type: string
          in: path
          name: gasPolicyId
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              additionalProperties: false
              type: object
              required:
                - draftId
                - authorization
              properties:
                draftId:
                  format: uuid
                  type: string
                authorization:
                  pattern: ^0x[0-9a-fA-F]{130}$
                  type: string
      responses:
        '202':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-10'
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
      security:
        - bearerAuth: []
components:
  schemas:
    def-10:
      additionalProperties: false
      type: object
      required:
        - mandateId
        - parentMandateId
        - rootMandateId
        - gasPolicyId
        - agent
        - depth
        - status
        - recipients
        - maxPerActionBaseUnits
        - maxTotalBaseUnits
        - validFrom
        - expiresAt
        - creationTransactionHash
        - sponsored
        - createdAt
        - updatedAt
      properties:
        mandateId:
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
        parentMandateId:
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
        rootMandateId:
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
        gasPolicyId:
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
        agent:
          pattern: ^0x[0-9a-fA-F]{40}$
          type: string
        depth:
          type: integer
        status:
          anyOf:
            - type: string
              enum:
                - pending
            - type: string
              enum:
                - active
            - type: string
              enum:
                - paused
            - type: string
              enum:
                - revoked
            - type: string
              enum:
                - expired
            - type: string
              enum:
                - failed
            - type: string
              enum:
                - unavailable
        recipients:
          type: array
          items:
            pattern: ^0x[0-9a-fA-F]{40}$
            type: string
        maxPerActionBaseUnits:
          pattern: ^(0|[1-9][0-9]{0,77})$
          type: string
        maxTotalBaseUnits:
          pattern: ^(0|[1-9][0-9]{0,77})$
          type: string
        validFrom:
          minimum: 1
          maximum: 281474976710655
          type: integer
        expiresAt:
          minimum: 1
          maximum: 281474976710655
          type: integer
        creationTransactionHash:
          anyOf:
            - pattern: ^0x[0-9a-fA-F]{64}$
              type: string
            - type: 'null'
        sponsored:
          type: boolean
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
      title: ChildMandateRecord
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````