curl --request GET \
--url https://api.peakmetrics.com/workspaces \
--header 'Authorization: Bearer <token>'[
{
"id": 2,
"title": "<string>",
"owner": "<string>",
"query": "<string>",
"channels": [
"news"
],
"narrativeDetection": {
"status": "new"
},
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"folder": {
"id": 123,
"title": "<string>"
},
"summary": "<string>"
}
]Get a list of your workspaces. You’ll use workspace IDs to fetch narrative intelligence data.
curl --request GET \
--url https://api.peakmetrics.com/workspaces \
--header 'Authorization: Bearer <token>'[
{
"id": 2,
"title": "<string>",
"owner": "<string>",
"query": "<string>",
"channels": [
"news"
],
"narrativeDetection": {
"status": "new"
},
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"folder": {
"id": 123,
"title": "<string>"
},
"summary": "<string>"
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
If value provided is "true", summaries will be generated for each workspace returned. A duplicate request may be necessary to fetch the summaries.
A JSON array of workspace objects
The unique identifier for the workspace.
x >= 1The user entered title of the workspace.
The unique identifier of the user who owns the workspace.
The query used to match mentions to the workspace.
The unique identifiers of the channels that are part of the workspace.
news, reddit, telegram, twitter, youtube Show child attributes
The date and time the workspace was created.
The date and time the workspace was last updated.
The folder, if any, this workspace belongs to.
Show child attributes
The summary of the given workspace, if summary=true is passed in the query string (defaults to an empty string otherwise).
Was this page helpful?