openapi: 3.2.0 info: title: JFrog Catalog REST GraphQL API description: API for querying and managing package metadata, searching for packages and CVEs, and managing custom labels for software components. JFrog Catalog provides a unified view of all packages across the JFrog Platform with enriched security and metadata information, primarily accessed through a GraphQL-based interface. version: 1.x contact: name: JFrog url: https://jfrog.com license: name: Proprietary url: https://jfrog.com/terms-of-service/ termsOfService: https://jfrog.com/terms-of-service/ servers: - url: https://{server}.jfrog.io/catalog/api/v1 description: JFrog Cloud variables: server: default: myserver description: Your JFrog server name - url: https://{host}/catalog/api/v1 description: Self-hosted JFrog instance variables: host: default: localhost:8082 description: Your self-hosted JFrog server host security: - bearerAuth: [] - basicAuth: [] tags: - name: Graph QL description: GraphQL query interface for package and CVE data paths: /custom/graphql: post: operationId: executeGraphQLQuery summary: JFrog Execute GraphQL Query description: Executes a GraphQL query against the JFrog Catalog. Supports querying packages, package versions, CVE information, license data, and custom labels. This is the primary interface for interacting with the Catalog service. tags: - Graph QL requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GraphQLRequest' responses: '200': description: GraphQL query executed successfully content: application/json: schema: $ref: '#/components/schemas/GraphQLResponse' '400': description: Invalid GraphQL query syntax '401': description: Unauthorized components: schemas: GraphQLRequest: type: object properties: query: type: string description: GraphQL query string variables: type: object additionalProperties: true description: GraphQL query variables operationName: type: string description: Named operation to execute when query contains multiple operations required: - query GraphQLResponse: type: object properties: data: type: object additionalProperties: true description: Query result data errors: type: array items: type: object properties: message: type: string locations: type: array items: type: object properties: line: type: integer column: type: integer path: type: array items: type: string securitySchemes: bearerAuth: type: http scheme: bearer description: Access token authentication basicAuth: type: http scheme: basic description: Basic username/password authentication externalDocs: description: JFrog Catalog Documentation url: https://jfrog.com/help/r/jfrog-security-user-guide/products/catalog