LangSmith ace API

The ace API from LangSmith — 1 operation(s) for ace.

OpenAPI Specification

langsmith-ace-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: LangSmith access_policies ace API
  description: 'The LangSmith API is used to programmatically create and manage LangSmith resources.


    ## Host

    https://api.smith.langchain.com


    ## Authentication

    To authenticate with the LangSmith API, set the `X-Api-Key` header

    to a valid [LangSmith API key](https://docs.langchain.com/langsmith/create-account-api-key#create-an-api-key).


    '
  version: 0.1.0
servers:
- url: /
tags:
- name: ace
paths:
  /api/v1/ace/execute:
    post:
      tags:
      - ace
      summary: Execute
      description: Execute some custom code for testing purposes.
      operationId: execute_api_v1_ace_execute_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_execute_api_v1_ace_execute_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Execute Api V1 Ace Execute Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_execute_api_v1_ace_execute_post:
      properties:
        args:
          items: {}
          type: array
          title: Args
        code:
          type: string
          title: Code
        language:
          type: string
          title: Language
      type: object
      required:
      - args
      - code
      - language
      title: Body_execute_api_v1_ace_execute_post
  securitySchemes:
    API Key:
      type: apiKey
      in: header
      name: X-API-Key
    Tenant ID:
      type: apiKey
      in: header
      name: X-Tenant-Id
    Bearer Auth:
      type: http
      description: Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id or x-organization-id (for org scoped apis).
      scheme: bearer
    Organization ID:
      type: apiKey
      in: header
      name: X-Organization-Id