Skip to main content
GET
/
cli
/
info
curl --request GET \
  --url 'https://app.codethreat.com/api/v1/cli/info'
{
  "success": true,
  "data": {
    "cli": {
      "name": "<string>",
      "version": "<string>",
      "supportedPlatforms": [
        "<string>"
      ],
      "supportedArchitectures": [
        "<string>"
      ]
    },
    "api": {
      "version": "<string>",
      "baseUrl": "<string>",
      "endpoints": {}
    },
    "supportedFormats": [
      "<string>"
    ],
    "supportedProviders": [
      "<string>"
    ],
    "capabilities": {}
  },
  "pagination": {
    "page": 2,
    "limit": 50,
    "total": 1,
    "totalPages": 1,
    "hasNext": true,
    "hasPrev": true
  },
  "meta": {
    "timestamp": "2023-11-07T05:31:56Z",
    "version": "<string>",
    "requestId": "<string>",
    "organizationId": "<string>"
  }
}
curl --request GET \
  --url 'https://app.codethreat.com/api/v1/cli/info'

Query Parameters

includeCapabilities
boolean
default:true
includeVersions
boolean
default:true

Response

200 - application/json
success
boolean
data
object
pagination
object
meta
object