openapi: 3.1.0 info: title: LangSmith access_policies nps 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: nps paths: /v1/platform/nps/response: post: security: - Bearer Auth: [] description: Records the authenticated user's NPS score and optional comment. tags: - nps summary: Submit an NPS response parameters: [] responses: '204': description: No Content '400': description: Bad Request content: application/json: schema: type: object additionalProperties: type: string '401': description: Unauthorized content: application/json: schema: type: object additionalProperties: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/nps.SubmitResponseRequest' components: schemas: nps.SubmitResponseRequest: type: object properties: comment: type: string score: type: integer 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