Packages
Use these operations to interact with packages in Cortex.
Required permissions
Your API key must have the Edit entities
permission.
Operations
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
Number of results to return per page, between 1 and 1000. Default 250.
250
Page number to return, 0-indexed. Default 0.
0
GET /api/v1/catalog/{tagOrId}/packages HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
[
{
"dateCreated": "2025-06-28T19:23:14.615Z",
"id": 1,
"name": "text",
"packageType": "NODE",
"version": "text"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/dotnet/nuget/csproj HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "NUGET",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/dotnet/nuget/packages-lock HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "NUGET",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
DELETE /api/v1/catalog/{tagOrId}/packages/dotnet/nuget HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
No content
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/go/gosum HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "GO",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
DELETE /api/v1/catalog/{tagOrId}/packages/go HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
No content
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
Package name, like io.cortex.scorecards
io.cortex.scorecards
Semver package version
1.2.3
POST /api/v1/catalog/{tagOrId}/packages/java HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"name": "io.cortex.scorecards",
"version": "1.2.3"
}
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "JAVA",
"version": "string"
}
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
Package name, like io.cortex.scorecards
io.cortex.scorecards
Semver package version
1.2.3
POST /api/v1/catalog/{tagOrId}/packages/java/bulk HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 51
[
{
"name": "io.cortex.scorecards",
"version": "1.2.3"
}
]
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "JAVA",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/java/maven-pom HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "JAVA",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
DELETE /api/v1/catalog/{tagOrId}/packages/java HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
No content
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/node/package-json HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "NODE",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/node/package-lock HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "NODE",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
DELETE /api/v1/catalog/{tagOrId}/packages/node HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
No content
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/node/pnpm-lock HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "NODE",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/node/yarn-lock HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "NODE",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/python/pipfile HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "PYTHON",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
POST /api/v1/catalog/{tagOrId}/packages/python/requirements HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
[
{
"dateCreated": "2023-01-01T01:01:01.000Z",
"id": 0,
"name": "string",
"packageType": "PYTHON",
"version": "string"
}
]
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
DELETE /api/v1/catalog/{tagOrId}/packages/python HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
No content
Last updated
Was this helpful?