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

# Execute Skill by Name

> Same as Execute Skill by ID, but resolved by skill name first.



## OpenAPI

````yaml POST /skill/executor/{name}
openapi: 3.0.1
info:
  title: Machina Sports SDK
  description: >-
    Machina Sports API for seamless AI integration in sports, offering real-time
    insights, personalized content, and fan sentiment analysis.
  version: '1.0'
  termsOfService: http://machina.gg/tos/
  contact:
    email: support@machina.gg
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://{api-address}.org.machina.gg
    description: Production server
    variables:
      api-address:
        default: https://api.machina.gg
        description: Your api-address
  - url: http://local.machina:5001
    description: Local development server
security:
  - ApiToken: []
paths:
  /skill/executor/{name}:
    post:
      tags:
        - skills
      summary: Execute Skill by name
      description: Same as Execute Skill by ID, but resolved by skill name first.
      operationId: executeSkillByName
      parameters:
        - name: name
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                agent-config:
                  type: object
                  properties:
                    delay:
                      type: boolean
                      default: true
                messages:
                  type: array
                  items:
                    type: object
                context-skill:
                  type: object
      responses:
        '200':
          description: Same shape as Execute Skill by ID
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: boolean
                    description: Whether the operation succeeded
                    example: true
                  data:
                    type: object
                    properties:
                      skill_run_id:
                        type: string
                      task_id:
                        type: string
                  message:
                    type: string
        '404':
          description: Skill not found
components:
  securitySchemes:
    ApiToken:
      type: apiKey
      name: x-api-token
      in: header
      description: API key authentication

````