x-api-key | string header Parametersx-api-key | string Client-specific import API key. This same key will be required to fetch the job status,
+" class="sc-euGpHm sc-exayXG fwfkcU jYGAQp"> Client-specific import API key. This same key will be required to fetch the job status,
and final .zip result.
- |
Request Body schema: multipart/form-datarequired urls required | Array of strings <url> (URL) [ items <url > ] | | object (ImportOptions) Optional configuration params, defined as a JSON object
- | importScript | string <binary> Optional import.js mapping file
- | customHeaders | object Optional custom headers to send with each HTTP request
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/tools/import/jobs https://spacecat.experiencecloud.live/api/v1/tools/import/jobs Response samples Content typeapplication/json {"id": "12d6ac8e-d5e4-4788-90eb-b69e10e745fd", "status": "RUNNING", "startTime": "2024-01-19T14:20:30Z", "urlCount": 25, "successCount": 15, "failedCount": 0 } Query the status of an import job This endpoint can be used to query the status of an import job, given its jobId.
- path ParametersjobId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The job ID in uuid format
- |
header Parametersx-api-key | string Client-specific import API key. Must match the key used to start the import job.
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/tools/import/jobs/{jobId} https://spacecat.experiencecloud.live/api/v1/tools/import/jobs/{jobId} Response samples Content typeapplication/json {"id": "12d6ac8e-d5e4-4788-90eb-b69e10e745fd", "status": "RUNNING", "startTime": "2024-01-19T14:20:30Z", "urlCount": 25, "successCount": 15, "failedCount": 0 } Request a pre-signed URL to download the result of an import job as a .zip archive Request Body schema: multipart/form-datarequired urls required | Array of strings <url> (URL) [ items <url > ] | | object (ImportOptions) Optional configuration params, defined as a JSON object
+ | importScript | string <binary> Optional import.js mapping file
+ | customHeaders | object Optional custom headers to send with each HTTP request
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/tools/import/jobs https://spacecat.experiencecloud.live/api/v1/tools/import/jobs Response samples Content typeapplication/json {"id": "12d6ac8e-d5e4-4788-90eb-b69e10e745fd", "status": "RUNNING", "startTime": "2024-01-19T14:20:30Z", "urlCount": 25, "successCount": 15, "failedCount": 0 } Query the status of an import job This endpoint can be used to query the status of an import job, given its jobId.
+ path ParametersjobId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The job ID in uuid format
+ |
header Parametersx-api-key | string Client-specific import API key. Must match the key used to start the import job.
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/tools/import/jobs/{jobId} https://spacecat.experiencecloud.live/api/v1/tools/import/jobs/{jobId} Response samples Content typeapplication/json {"id": "12d6ac8e-d5e4-4788-90eb-b69e10e745fd", "status": "RUNNING", "startTime": "2024-01-19T14:20:30Z", "urlCount": 25, "successCount": 15, "failedCount": 0 } Query the progress of an import job This endpoint can be used to query the progress of an import job, given its jobId.
+ path ParametersjobId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The job ID in uuid format
+ |
header Parametersx-api-key | string Client-specific import API key. Must match the key used to start the import job.
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/tools/import/jobs/{jobId}/progress https://spacecat.experiencecloud.live/api/v1/tools/import/jobs/{jobId}/progress Response samples Content typeapplication/json {"pending": 0, "redirect": 0, "running": 0, "completed": 1, "failed": 0 } Request a pre-signed URL to download the result of an import job as a .zip archive This endpoint can be used to download an archive of an import job, which will include
+" class="sc-euGpHm sc-exayXG fwfkcU kqJXdD"> This endpoint can be used to download an archive of an import job, which will include
all the resulting documents that were generated as part of the import. It will also
include the import-report.xlsx file, which contains a summary of the import job.
- path ParametersjobId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The job ID in uuid format
- |
header Parametersx-api-key | string Client-specific import API key. Must match the key used to start the import job.
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/tools/import/jobs/{jobId}/result https://spacecat.experiencecloud.live/api/v1/tools/import/jobs/{jobId}/result Response samples Content typeapplication/json path ParametersjobId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The job ID in uuid format
+ |
header Parametersx-api-key | string Client-specific import API key. Must match the key used to start the import job.
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/tools/import/jobs/{jobId}/result https://spacecat.experiencecloud.live/api/v1/tools/import/jobs/{jobId}/result Response samples Content typeapplication/json APIs for scraping web pages
- Get all application configurations Responseshttps://spacecat.experiencecloud.live/api/ci/configurations https://spacecat.experiencecloud.live/api/v1/configurations Response samples Content typeapplication/json [{"version": "string", "jobs": [{"group": "string", "interval": "string", "type": "string" } ], "queues": {"audits": "string", "imports": "string", "reports": "string" } } ] Get the latest application configuration Responseshttps://spacecat.experiencecloud.live/api/ci/configurations/latest https://spacecat.experiencecloud.live/api/v1/configurations/latest Response samples Content typeapplication/json {"version": "string", "jobs": [{"group": "string", "interval": "string", "type": "string" } ], "queues": {"audits": "string", "imports": "string", "reports": "string" } } Get a specific version of the application configuration Responseshttps://spacecat.experiencecloud.live/api/ci/configurations/{version} https://spacecat.experiencecloud.live/api/v1/configurations/{version} Response samples Content typeapplication/json {"version": "string", "jobs": [{"group": "string", "interval": "string", "type": "string" } ], "queues": {"audits": "string", "imports": "string", "reports": "string" } } Scrape a set of URLs Get all application configurations Responseshttps://spacecat.experiencecloud.live/api/ci/configurations https://spacecat.experiencecloud.live/api/v1/configurations Response samples Content typeapplication/json [{"version": "string", "jobs": [{"group": "string", "interval": "string", "type": "string" } ], "queues": {"audits": "string", "imports": "string", "reports": "string" } } ] Get the latest application configuration Responseshttps://spacecat.experiencecloud.live/api/ci/configurations/latest https://spacecat.experiencecloud.live/api/v1/configurations/latest Response samples Content typeapplication/json {"version": "string", "jobs": [{"group": "string", "interval": "string", "type": "string" } ], "queues": {"audits": "string", "imports": "string", "reports": "string" } } Get a specific version of the application configuration Responseshttps://spacecat.experiencecloud.live/api/ci/configurations/{version} https://spacecat.experiencecloud.live/api/v1/configurations/{version} Response samples Content typeapplication/json {"version": "string", "jobs": [{"group": "string", "interval": "string", "type": "string" } ], "queues": {"audits": "string", "imports": "string", "reports": "string" } } Scrape a set of URLs Warning: prototype endpoint.
+" class="sc-euGpHm sc-exayXG fwfkcU kqJXdD"> Warning: prototype endpoint.
This endpoint allows you to scrape a set of URLs. The URLs are scraped in parallel and the results are returned in the same order as the input.
The maximum number of URLs that can be scraped in a single request is 10.
- Request Body schema: application/jsonurls required | Array of strings <url> (URL) [ items <url > ] The URLs to scrape. The URLs must be unique. Limit of 10 URLs per request.
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/scrape https://spacecat.experiencecloud.live/api/v1/scrape Request samples Content typeapplication/json Response samples Content typeapplication/json {"id": "12d6ac8e-d5e4-4788-90eb-b69e10e745fd", "status": "COMPLETE", "startTime": "2024-01-19T14:20:30Z", "urlCount": 10, "successCount": 9, "failedCount": 1, "results": [{"status": "COMPLETE", "content": "..." }, {"status": "FAILED", "error": "..." } ] } Retrieve key events for a site This endpoint returns key events for a site chronologically, starting from the most recent and descending to the least recent
- path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/key-events https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/key-events Response samples Content typeapplication/json [{"id": "a1b2c3d4-e5f6-7g8h-9i0j-k11l12m13n14", "name": "Multiple 404s detected", "type": "seo", "time": "2023-12-15T09:30:00Z" } ] Create a new key event for a site The endpoint for creating new key events for a site
- path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
- |
Request Body schema: application/jsonrequired name required | | type required | string (KeyEventType) Enum: "performance" "seo" "content" "code" "third party" "experimentation" "network" "status change" | time | string <date-time> (DateTime) Time of the key event occurred (optional). Current time is used when the field is missing
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/key-events https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/key-events Request samples Content typeapplication/json Response samples Content typeapplication/json {"id": "a1b2c3d4-e5f6-7g8h-9i0j-k11l12m13n14", "name": "Multiple 404s detected", "type": "seo", "time": "2023-12-15T09:30:00Z" } Delete a key event The endpoint for deleting a key event
- path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
- | keyEventId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The key event ID in uuid format
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/key-events/{keyEventId} https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/key-events/{keyEventId} Retrieve top pages for site Request Body schema: application/jsonurls required | Array of strings <url> (URL) [ items <url > ] The URLs to scrape. The URLs must be unique. Limit of 10 URLs per request.
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/scrape https://spacecat.experiencecloud.live/api/v1/scrape Request samples Content typeapplication/json Response samples Content typeapplication/json {"id": "12d6ac8e-d5e4-4788-90eb-b69e10e745fd", "status": "COMPLETE", "startTime": "2024-01-19T14:20:30Z", "urlCount": 10, "successCount": 9, "failedCount": 1, "results": [{"status": "COMPLETE", "content": "..." }, {"status": "FAILED", "error": "..." } ] } Retrieve key events for a site This endpoint returns key events for a site chronologically, starting from the most recent and descending to the least recent
+ path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/key-events https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/key-events Response samples Content typeapplication/json [{"id": "a1b2c3d4-e5f6-7g8h-9i0j-k11l12m13n14", "name": "Multiple 404s detected", "type": "seo", "time": "2023-12-15T09:30:00Z" } ] Create a new key event for a site The endpoint for creating new key events for a site
+ path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
+ |
Request Body schema: application/jsonrequired name required | | type required | string (KeyEventType) Enum: "performance" "seo" "content" "code" "third party" "experimentation" "network" "status change" | time | string <date-time> (DateTime) Time of the key event occurred (optional). Current time is used when the field is missing
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/key-events https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/key-events Request samples Content typeapplication/json Response samples Content typeapplication/json {"id": "a1b2c3d4-e5f6-7g8h-9i0j-k11l12m13n14", "name": "Multiple 404s detected", "type": "seo", "time": "2023-12-15T09:30:00Z" } Delete a key event The endpoint for deleting a key event
+ path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
+ | keyEventId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The key event ID in uuid format
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/key-events/{keyEventId} https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/key-events/{keyEventId} Retrieve top pages for site Not implemented yet.
+" class="sc-euGpHm sc-exayXG fwfkcU kqJXdD"> Not implemented yet.
This endpoint is useful for retrieving top pages for a site.
The top pages will be ordered in buckets by source and geo,
and in descending order by traffic within these buckets.
- path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/top-pages https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/top-pages Response samples Content typeapplication/json Retrieve top pages for site by source path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/top-pages https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/top-pages Response samples Content typeapplication/json Retrieve top pages for site by source Not implemented yet.
+" class="sc-euGpHm sc-exayXG fwfkcU kqJXdD"> Not implemented yet.
This endpoint is useful for retrieving top pages for a site.
The top pages will be ordered in buckets by geo,
and in descending order by traffic within these buckets.
- path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
- | source required | string Value: "ahrefs" Example: ahrefs The source of the top pages
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/top-pages/{source} https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/top-pages/{source} Response samples Content typeapplication/json Retrieve top pages for site by source and geo path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
+ | source required | string Value: "ahrefs" Example: ahrefs The source of the top pages
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/top-pages/{source} https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/top-pages/{source} Response samples Content typeapplication/json Retrieve top pages for site by source and geo Not implemented yet.
+" class="sc-euGpHm sc-exayXG fwfkcU kqJXdD"> Not implemented yet.
This endpoint is useful for retrieving top pages for a site.
The top pages will be ordered in descending order by traffic.
- path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
- | source required | string Value: "ahrefs" Example: ahrefs The source of the top pages
- | geo required | string Example: au The geo of the top pages
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/top-pages/{source}/{geo} https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/top-pages/{source}/{geo} Response samples Content typeapplication/json Retrieve site metrics by source This endpoint is useful for retrieving site metrics by source.
- path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
- | source required | string Value: "ahrefs" Example: ahrefs The source of the top pages
- | metric required | string Value: "organic-traffic" Example: organic-traffic The name of the site metric
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/metrics/{metric}/{source} https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/metrics/{metric}/{source} Response samples Content typeapplication/json [{"siteId": "a1b2c3d4-e5f6-7g8h-9i0j-k11l12m13n14", "source": "ahrefs", "name": "organic-traffic", "value": 37900, "time": "2024-04-29T00:00:00.000Z" } ] Retrieves all experiments for the site This endpoint provide a list of experiments obtained from RUM data for the given site along with all the experiment details.
- path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
- |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/experiments https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/experiments Response samples Content typeapplication/json [{"siteId": "a1b2c3d4-e5f6-7g8h-9i0j-k11l12m13n14", "experimentId": "1012-home-page-optimization", "name": "1012 Home Page Optimization", "type": "AB", "status": "ACTIVE", "startDate": "2024-04-29T15:14:33.653Z", "endDate": "2024-05-29T15:14:33.653Z", "updatedAt": "2024-05-31T15:14:33.653Z", "updatedBy": "admin", "conversionEventName": "click", "conversionEventValue": ".add-to-cart" } ]
+ path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
+ | source required | string Value: "ahrefs" Example: ahrefs The source of the top pages
+ | geo required | string Example: au The geo of the top pages
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/top-pages/{source}/{geo} https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/top-pages/{source}/{geo} Response samples Content typeapplication/json Retrieve site metrics by source This endpoint is useful for retrieving site metrics by source.
+ path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
+ | source required | string Value: "ahrefs" Example: ahrefs The source of the top pages
+ | metric required | string Value: "organic-traffic" Example: organic-traffic The name of the site metric
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/metrics/{metric}/{source} https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/metrics/{metric}/{source} Response samples Content typeapplication/json [{"siteId": "a1b2c3d4-e5f6-7g8h-9i0j-k11l12m13n14", "source": "ahrefs", "name": "organic-traffic", "value": 37900, "time": "2024-04-29T00:00:00.000Z" } ] Retrieves all experiments for the site This endpoint provide a list of experiments obtained from RUM data for the given site along with all the experiment details.
+ path ParameterssiteId required | string <uuid> (Id) Example: 123e4567-e89b-12d3-a456-426614174000 The site ID in uuid format
+ |
Responseshttps://spacecat.experiencecloud.live/api/ci/sites/{siteId}/experiments https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/experiments Response samples Content typeapplication/json [{"siteId": "a1b2c3d4-e5f6-7g8h-9i0j-k11l12m13n14", "experimentId": "1012-home-page-optimization", "name": "1012 Home Page Optimization", "type": "AB", "status": "ACTIVE", "startDate": "2024-04-29T15:14:33.653Z", "endDate": "2024-05-29T15:14:33.653Z", "updatedAt": "2024-05-31T15:14:33.653Z", "updatedBy": "admin", "conversionEventName": "click", "conversionEventValue": ".add-to-cart" } ]
|