v1/models/:model_id
GEThttps://{endpoint}/v1/models/:modelId
cancel job
Request
Path Parameters
modelId uint64required
Responses
- 200
- 404
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
model object
{
"model": {
"id": "string",
"name": "string",
"description": "string",
"baseModel": "string",
"modelType": "DEFAULT",
"showcaseImageUrls": [
"string"
],
"projectName": "string",
"triggerWords": "string"
}
}
Not Found: model not found
- application/json
- Schema
Schema
- any
Default
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -g -X GET 'https://{endpoint}/v1/models/:modelId' \
-H 'Accept: application/json'
ResponseClear