openapi: 3.2.0 info: description: The One API. Universal API integration platform for AI agents and applications. license: name: '' title: One Marketplace API version: 5.35.0 tags: - name: Marketplace paths: /v1/marketplace/ai-skills: get: operationId: search_marketplace_ai_skills parameters: - in: query name: q required: false schema: type: - string - 'null' - in: query name: verifiedOnly required: false schema: type: - boolean - 'null' - description: 'Items per page. Default 20, hard-capped at 150. `limit=0` is treated as 1. Larger values silently clamp.' example: 20 in: query name: limit required: false schema: default: 20 format: int64 maximum: 150 minimum: 0 type: integer - description: Page number for pagination (1-indexed). Defaults to 1. example: 1 in: query name: page required: false schema: default: 1 format: int64 minimum: 0 type: integer - description: 'Number of items to skip before the first returned item. Defaults to 0. Most callers should leave this at 0 and rely on `page` + `limit`.' example: 0 in: query name: skip required: false schema: default: 0 format: int64 minimum: 0 type: integer responses: '200': content: application/json: schema: $ref: '#/components/schemas/Paginated_MarketplaceSkillView' description: '' '400': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Invalid request '402': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Quota exceeded — upgrade plan '403': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Insufficient permissions '404': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource not found '422': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource state does not allow this action '500': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Internal server error security: - X-Pica-Secret: [] tags: - Marketplace summary: Search marketplace ai skills x-summary-source: derived /v1/marketplace/ai-skills/{id}: get: operationId: get_marketplace_ai_skill_latest parameters: - in: path name: id required: true schema: $ref: '#/components/schemas/AiSkillId' responses: '200': content: application/json: schema: $ref: '#/components/schemas/MarketplaceSkillView' description: '' '400': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Invalid request '402': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Quota exceeded — upgrade plan '403': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Insufficient permissions '404': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource not found '422': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource state does not allow this action '500': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Internal server error security: - X-Pica-Secret: [] tags: - Marketplace summary: Get marketplace ai skill latest x-summary-source: derived /v1/marketplace/ai-skills/{id}/versions: get: operationId: list_marketplace_ai_skill_versions parameters: - in: path name: id required: true schema: $ref: '#/components/schemas/AiSkillId' - description: 'Items per page. Default 20, hard-capped at 150. `limit=0` is treated as 1. Larger values silently clamp.' example: 20 in: query name: limit required: false schema: default: 20 format: int64 maximum: 150 minimum: 0 type: integer - description: Page number for pagination (1-indexed). Defaults to 1. example: 1 in: query name: page required: false schema: default: 1 format: int64 minimum: 0 type: integer - description: 'Number of items to skip before the first returned item. Defaults to 0. Most callers should leave this at 0 and rely on `page` + `limit`.' example: 0 in: query name: skip required: false schema: default: 0 format: int64 minimum: 0 type: integer responses: '200': content: application/json: schema: $ref: '#/components/schemas/Paginated_MarketplaceSkillView' description: '' '400': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Invalid request '402': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Quota exceeded — upgrade plan '403': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Insufficient permissions '404': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource not found '422': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource state does not allow this action '500': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Internal server error security: - X-Pica-Secret: [] tags: - Marketplace summary: List marketplace ai skill versions x-summary-source: derived /v1/marketplace/ai-skills/{id}/versions/{version}: get: operationId: get_marketplace_ai_skill_version parameters: - in: path name: id required: true schema: $ref: '#/components/schemas/AiSkillId' - in: path name: version required: true schema: format: int32 type: integer responses: '200': content: application/json: schema: $ref: '#/components/schemas/MarketplaceSkillView' description: '' '400': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Invalid request '402': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Quota exceeded — upgrade plan '403': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Insufficient permissions '404': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource not found '422': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource state does not allow this action '500': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Internal server error security: - X-Pica-Secret: [] tags: - Marketplace summary: Get marketplace ai skill version x-summary-source: derived /v1/marketplace/ai-skills/{id}/versions/{version}/export: get: operationId: export_marketplace_ai_skill_version parameters: - in: path name: id required: true schema: $ref: '#/components/schemas/AiSkillId' - in: path name: version required: true schema: format: int32 type: integer responses: '200': content: text/markdown: schema: type: string description: SKILL.md text '400': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Invalid request '402': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Quota exceeded — upgrade plan '403': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Insufficient permissions '404': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource not found '422': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Resource state does not allow this action '500': content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Internal server error security: - X-Pica-Secret: [] tags: - Marketplace summary: Export marketplace ai skill version x-summary-source: derived components: schemas: AiSkillVersionId: description: Prefixed ID with 'ai_skill_ver' prefix (e.g., 'ai_skill_ver_1C'), also accepts raw integer type: string Paginated_MarketplaceSkillView: properties: page: format: int64 minimum: 0 type: integer pages: format: int64 minimum: 0 type: integer rows: items: allOf: - $ref: '#/components/schemas/AiSkillVersionView' - properties: organizationVerified: type: boolean required: - organizationVerified type: object type: array total: format: int64 minimum: 0 type: integer required: - rows - total - pages - page type: object ErrorResponse: properties: correlationId: example: 550e8400-e29b-41d4-a716-446655440000 type: string key: example: http_error type: string message: example: Authentication required type: string status: example: 401 format: int32 minimum: 0 type: integer type: example: http_error type: string required: - correlationId - key - message - type - status type: object AiSkillVersionView: properties: agent: type: - string - 'null' aiSkillId: $ref: '#/components/schemas/AiSkillId' allowedTools: {} argumentHint: type: - string - 'null' content: type: string context: type: - string - 'null' description: type: string disableModelInvocation: type: boolean hooks: {} id: $ref: '#/components/schemas/AiSkillVersionId' model: type: - string - 'null' name: type: string publishedAt: format: date-time type: string publishedBy: format: uuid type: string rejectReason: type: - string - 'null' rejectedAt: format: date-time type: - string - 'null' tags: items: type: string type: array userInvocable: type: boolean verifiedAt: format: date-time type: - string - 'null' versionNumber: format: int32 type: integer yankedAt: format: date-time type: - string - 'null' yankedBy: format: uuid type: - string - 'null' yankedReason: type: - string - 'null' required: - id - aiSkillId - versionNumber - name - description - content - disableModelInvocation - userInvocable - tags - publishedAt - publishedBy type: object AiSkillId: description: Prefixed ID with 'ai_skill' prefix (e.g., 'ai_skill_1C'), also accepts raw integer type: string MarketplaceSkillView: allOf: - $ref: '#/components/schemas/AiSkillVersionView' - properties: organizationVerified: type: boolean required: - organizationVerified type: object securitySchemes: Bearer: scheme: bearer type: http OAuth2: flows: authorizationCode: authorizationUrl: https://api.withone.ai/oauth/authorize scopes: org:ai_skills:read: Read organization AI skills org:ai_skills:write: Create, update, and delete organization AI skills org:authkit:read: Read organization AuthKit resources org:authkit:write: Create, update, and delete organization AuthKit resources org:connections:read: Read organization connections org:connections:write: Create, update, and delete organization connections org:projects:read: Read organization projects org:projects:write: Create, update, and delete organization projects org:secrets:read: Read organization secrets org:secrets:write: Create, update, and delete organization secrets org:workflows:executions:read: Read organization workflow executions org:workflows:executions:write: Create, update, and delete organization workflow executions org:workflows:read: Read organization workflows org:workflows:write: Create, update, and delete organization workflows project:ai_skills:read: Read project AI skills project:ai_skills:write: Create, update, and delete project AI skills project:authkit:read: Read project AuthKit resources project:authkit:write: Create, update, and delete project AuthKit resources project:connections:read: Read project connections project:connections:write: Create, update, and delete project connections project:secrets:read: Read project secrets project:secrets:write: Create, update, and delete project secrets project:workflows:executions:read: Read project workflow executions project:workflows:executions:write: Create, update, and delete project workflow executions project:workflows:read: Read project workflows project:workflows:write: Create, update, and delete project workflows user:ai_skills:read: Read your personal AI skills user:ai_skills:write: Create, update, and delete your personal AI skills user:authkit:read: Read your personal AuthKit resources user:authkit:write: Create, update, and delete your personal AuthKit resources user:connections:read: Read your personal connections user:connections:write: Create, update, and delete your personal connections user:secrets:read: Read your personal secrets user:secrets:write: Create, update, and delete your personal secrets user:workflows:executions:read: Read your personal workflow executions user:workflows:executions:write: Create, update, and delete your personal workflow executions user:workflows:read: Read your personal workflows user:workflows:write: Create, update, and delete your personal workflows tokenUrl: https://api.withone.ai/oauth/token type: oauth2 Session: in: cookie name: withone type: apiKey X-One-Connection-Key: in: header name: X-One-Connection-Key type: apiKey X-One-Secret: in: header name: X-One-Secret type: apiKey X-Pica-Connection-Key: in: header name: X-One-Connection-Key type: apiKey X-Pica-Secret: in: header name: X-One-Secret type: apiKey