Tags

Generated on 18 Mar 2026

Base URL https://api.paperspace.com/v1

GET List a project's tags

/projects/{id}/tags
Authorizations: BearerAuth
Http: Bearer

An API key or access token

Fetches a list of tags for a project.

Path Parameters

id string required

The ID of the project to fetch tags for

Query Parameters

after string optional

Fetch the next page of results after this cursor.

limit integer 1 – 120 optional

The number of items to fetch after this page.

orderBy string, one of: dtCreated optional

Order results by one of these fields.

Default: dtCreated
order string, one of: asc, desc optional

The order to sort the results by.

Default: desc
curl -X GET \
  -H "Authorization: Bearer $API_TOKEN" \
  "https://api.paperspace.com/v1/projects/{id}/tags"

Responses

200

Successful response

hasMore boolean required

Whether there are more pages of results available.

items array of object required

The items on this page.

Show child properties
dtCreated string (date-time) required

The date the notebook was created

id number required

The ID of the tag

name string required

The name of the tag

nextPage string optional

The cursor required to fetch the next page of results. i.e. ?after=nextPage. This is null when there is no next page.

default

Error response

code string required
details object optional
message string required
{
  "hasMore": true,
  "items": [
    {
      "dtCreated": "2019-08-24T14:15:22Z",
      "id": 0,
      "name": "string"
    }
  ],
  "nextPage": "string"
}
{
  "code": "string",
  "message": "string"
}

POST Add a tag to a project

/projects/{id}/tags
Authorizations: BearerAuth
Http: Bearer

An API key or access token

Adds a tag to a project.

Path Parameters

id string required

The ID of the project to add the tag to

Request Body: application/json

name string required

The name of the tag to add to the project

Content type application/json
{
  "name": "string"
}
curl -X POST \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string"
}' \
  "https://api.paperspace.com/v1/projects/{id}/tags"

Responses

200

Successful response

dtCreated string (date-time) required

The date the notebook was created

id number required

The ID of the tag

name string required

The name of the tag

default

Error response

code string required
details object optional
message string required
{
  "dtCreated": "2019-08-24T14:15:22Z",
  "id": 0,
  "name": "string"
}
{
  "code": "string",
  "message": "string"
}

DELETE Remove a tag from a project

/projects/{id}/tags
Authorizations: BearerAuth
Http: Bearer

An API key or access token

Remove a tag from a project.

Path Parameters

id string required

The ID of the project to remove the tag from

Query Parameters

name string required

The name of the tag to remove from the project

curl -X DELETE \
  -H "Authorization: Bearer $API_TOKEN" \
  "https://api.paperspace.com/v1/projects/{id}/tags"

Responses

200

Successful response

dtCreated string (date-time) required

The date the notebook was created

id number required

The ID of the tag

name string required

The name of the tag

default

Error response

code string required
details object optional
message string required
{
  "dtCreated": "2019-08-24T14:15:22Z",
  "id": 0,
  "name": "string"
}
{
  "code": "string",
  "message": "string"
}

We can't find any results for your search.

Try using different keywords or simplifying your search terms.