Get details of a single project
const url = 'https://dashboard.quantcdn.io/api/v2/organizations/test-org/projects/test-project?with_token=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://dashboard.quantcdn.io/api/v2/organizations/test-org/projects/test-project?with_token=false' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization identifier
Example
test-orgProject identifier
Example
test-projectQuery Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”The request has succeeded.
object
Project ID
Project UUID
Project name
Project machine name
Write token for API access
Whether the project’s search index is enabled. Requires an organisation search subscription.
How the project builds and serves its search index. A PATCH merges one section at a time, so sending only extractors leaves algolia untouched; within a section a list replaces wholesale.
object
XPath expressions that decide what each indexed page contributes to a search record. The defaults take the page body from the meta description, which indexes one sentence per page and matches nothing on body text, so a real deployment should set content to the page’s main content region.
object
XPath for the record title
XPath for the record body
XPath for the record summary
XPath for the record image
Index settings. Named algolia for historical reasons; they are applied to whichever backend the project’s platform_mode selects, including Typesense.
object
Fields offered as facets
Fields a query matches against
Fields results may be sorted by
Ranking rules, e.g. asc(title)
Newline-separated synonym groups, each a comma-separated list of terms
Example
{ "id": 123, "uuid": "550e8400-e29b-41d4-a716-446655440000", "name": "Test Project", "machine_name": "test-project", "write_token": "abc123token", "search_enabled": true, "search_config": { "extractors": { "title": "//h1[1]", "content": "//meta[@name='description'][1]/@content", "summary": "//meta[@name='description'][1]/@content", "image": "//meta[@property='og:image'][1]/@content" }, "algolia": { "facets": [ "content_type", "url" ], "searchable_attributes": [ "unordered(title)", "unordered(summary)", "unordered(content)" ], "sortable_attributes": [], "custom_ranking": [ "asc(title)" ], "synonyms": "car,automobile\\ndoc,document" } }}The server could not understand the request due to invalid syntax.
object
Error message
Error flag
Example
{ "message": "The requested resource was not found", "error": true}Access is forbidden.
object
Error message
Error flag
Example
{ "message": "The requested resource was not found", "error": true}