Skip to main content

Fleet

Fleet Object

FieldTypeDescription
idsnowflakethe fleet's id
organisationorganisation objectthe organisation the fleet belongs to
codestringa short code for the fleet (2-6 characters)
namestringa name for the fleet (up to 2-50 characters)
descriptionstringa description for the fleet

List Fleets

GET /organisations/{organisation.id}/fleets

Returns an array of fleet objects for the organisation.

Create Fleet

POST /organisations/{organisation.id}/fleets

Get Fleet

GET /fleets/{fleet.id}

Modify Fleet

PATCH /fleets/{fleet.id}

List Fleet Assets

GET /fleets/{fleet.id}/assets

Parameters
FieldTypeDescription
type?snowflakethe type of asset to return
root?booleanwhen set to true, only the root assets will be returned
active?booleanwhen set to true, only active assets will be returned