For the complete documentation index, see llms.txt. This page is also available as Markdown.
Designs
List only designs (not templates)
List all designs (not templates) you have access to with the user assigned to the credentials.
This endpoint makes an HTTP GET request to retrieve a list of designs from the specified API endpoint.
Request
Method: GET
Endpoint: https://api.thebrief.ai/v1/designs
Query Parameters:
keyword (string, optional): The keyword to search for a design name
projectId (integer, optional): Return only designs from a specific project
folderId (integer, optional): Return only designs from a specific folder
limit (integer, optional): The maximum number of designs to be returned. (max 50)
cursor (string, optional): A cursor for pagination.
apiGenerated (boolean, optional): Return only designs generated by API (excluded without this true)
exactSearch (boolean, optional): If true, it will return only the designs with the name equal to keyword. (For ex. keyword = 'Design Name 1' will return only designs with the name 'Design Name 1')
orderBy (enum, optional): option to order the response results by next fields:
IDNAMECREATED_ATUPDATED_AT
orderDirection (enum, optional): option to order the response by direction:
ASC
DESC
Response
Upon a successful execution with a status code of 200, the response will be in JSON format and will include a "response" object containing an array of "nodes" with "id" and "name" properties, as well as a "pageInfo" object with "hasNextPage" and "endCursor" properties.
Request example:
The thumbUrl is valid for 12 hours, after which it must be rerun the query to regenerate it.