{ "opencollection": "1.0.0", "info": { "name": "OpenMetadata APIs Agent Executions LLM Models API", "version": "1.13" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "LLM Models", "type": "folder" }, "items": [ { "info": { "name": "Add a follower", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/llmModels/:id/followers", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the LLM Model" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add a user identified by `userId` as follower of this model" }, { "info": { "name": "List LLM models", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/llmModels", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Fields requested in the returned resource" }, { "name": "service", "value": "", "type": "query", "description": "Filter LLM Models by service name" }, { "name": "limit", "value": "", "type": "query", "description": "Limit the number models returned. (1 to 1000000, default = 10)" }, { "name": "before", "value": "", "type": "query", "description": "Returns list of models before this cursor" }, { "name": "after", "value": "", "type": "query", "description": "Returns list of models after this cursor" }, { "name": "include", "value": "", "type": "query", "description": "Include all, deleted, or non-deleted entities." } ] }, "docs": "Get a list of LLM models, optionally filtered by `service` it belongs to. Use `fields` parameter to get only necessary fields. Use cursor-based pagination to limit the number entries in the list using `limit` and `before` or `after` query params." }, { "info": { "name": "Create an LLM model", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/llmModels", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new LLM model." }, { "info": { "name": "Create or update an LLM model", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/llmModels", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new LLM model, if it does not exist or update an existing model." }, { "info": { "name": "Get an LLM model by Id", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/llmModels/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the LLM Model" }, { "name": "fields", "value": "", "type": "query", "description": "Fields requested in the returned resource" }, { "name": "include", "value": "", "type": "query", "description": "Include all, deleted, or non-deleted entities." }, { "name": "includeRelations", "value": "", "type": "query", "description": "Per-relation include control. Format: field:value,field2:value2. Example: owners:non-deleted,followers:all. Valid values: all, deleted, non-deleted. If not specified for a field, uses the entity's include value." } ] }, "docs": "Get an LLM model by `Id`." }, { "info": { "name": "Update an LLM model", "type": "http" }, "http": { "method": "PATCH", "url": "/api/v1/llmModels/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the LLM Model" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing LLM model using JsonPatch." }, { "info": { "name": "Delete an LLM model by Id", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/llmModels/:id", "params": [ { "name": "hardDelete", "value": "", "type": "query", "description": "Hard delete the entity. (Default = `false`)" }, { "name": "id", "value": "", "type": "path", "description": "Id of the LLM Model" } ] }, "docs": "Delete an LLM model by `Id`." }, { "info": { "name": "Get an LLM model by fully qualified name", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/llmModels/name/:fqn", "params": [ { "name": "fqn", "value": "", "type": "path", "description": "Fully qualified name of LLM Model" }, { "name": "fields", "value": "", "type": "query", "description": "Fields requested in the returned resource" }, { "name": "include", "value": "", "type": "query", "description": "Include all, deleted, or non-deleted entities." }, { "name": "includeRelations", "value": "", "type": "query", "description": "Per-relation include control. Format: field:value,field2:value2. Example: owners:non-deleted,followers:all. Valid values: all, deleted, non-deleted. If not specified for a field, uses the entity's include value." } ] }, "docs": "Get an LLM model by fully qualified name." }, { "info": { "name": "Update an LLM model by name.", "type": "http" }, "http": { "method": "PATCH", "url": "/api/v1/llmModels/name/:fqn", "params": [ { "name": "fqn", "value": "", "type": "path", "description": "Name of the LLM Model" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing LLM model using JsonPatch." }, { "info": { "name": "Delete an LLM model by fully qualified name", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/llmModels/name/:fqn", "params": [ { "name": "hardDelete", "value": "", "type": "query", "description": "Hard delete the entity. (Default = `false`)" }, { "name": "recursive", "value": "", "type": "query", "description": "Recursively delete this entity and it's children. (Default `false`)" }, { "name": "fqn", "value": "", "type": "path", "description": "Name of the LLM Model" } ] }, "docs": "Delete an LLM model by `fullyQualifiedName`." }, { "info": { "name": "Delete an LLM model asynchronously by Id", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/llmModels/async/:id", "params": [ { "name": "hardDelete", "value": "", "type": "query", "description": "Hard delete the entity. (Default = `false`)" }, { "name": "recursive", "value": "", "type": "query", "description": "Recursively delete this entity and it's children. (Default `false`)" }, { "name": "id", "value": "", "type": "path", "description": "Id of the LLM Model" } ] }, "docs": "Delete an LLM model by `Id` asynchronously." }, { "info": { "name": "Remove a follower", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/llmModels/:id/followers/:userId", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the LLM Model" }, { "name": "userId", "value": "", "type": "path", "description": "Id of the user being removed as follower" } ] }, "docs": "Remove the user identified `userId` as a follower of the model." }, { "info": { "name": "Get a version of the LLM model", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/llmModels/:id/versions/:version", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the LLM Model" }, { "name": "version", "value": "", "type": "path", "description": "LLM Model version number in the form `major`.`minor`" } ] }, "docs": "Get a version of the LLM model by given `id`" }, { "info": { "name": "List all entity versions within a time range", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/llmModels/history", "params": [ { "name": "startTs", "value": "", "type": "query", "description": "Start timestamp in milliseconds since epoch" }, { "name": "endTs", "value": "", "type": "query", "description": "End timestamp in milliseconds since epoch" }, { "name": "limit", "value": "", "type": "query", "description": "Limit the number of entity returned (1 to 1000000, default = 10)" }, { "name": "before", "value": "", "type": "query", "description": "Returns list of entity versions before this cursor" }, { "name": "after", "value": "", "type": "query", "description": "Returns list of entity versions after this cursor" } ] }, "docs": "Get a paginated list of all entity versions within a given time range specified by `startTs` and `endTs` in milliseconds since epoch. " }, { "info": { "name": "List LLM model versions", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/llmModels/:id/versions", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the LLM Model" } ] }, "docs": "Get a list of all the versions of an LLM Model identified by `id`" }, { "info": { "name": "Restore a soft deleted LLM model", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/llmModels/restore", "body": { "type": "json", "data": "{}" } }, "docs": "Restore a soft deleted LLM Model." } ] } ], "bundled": true }