/ingest/batches
curl --request GET \
--url https://api.evermuse.com/api/v1/ingest/batches \
--header 'x-api-key: <api-key>'import requests
url = "https://api.evermuse.com/api/v1/ingest/batches"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.evermuse.com/api/v1/ingest/batches', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.evermuse.com/api/v1/ingest/batches",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.evermuse.com/api/v1/ingest/batches"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.evermuse.com/api/v1/ingest/batches")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evermuse.com/api/v1/ingest/batches")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"batches": [
{
"batchId": "<string>",
"status": "LANDING",
"createdAt": 1709282096000,
"acceptedCount": 1,
"rejectedCount": 1,
"totalErrorCount": 1,
"errors": [
{
"index": 1,
"code": "<string>",
"message": "<string>"
}
],
"source": "<string>",
"type": "<string>",
"attachmentDownloadTotal": 1,
"attachmentDownloadComplete": 1,
"attachmentDownloadFailed": 1,
"attachmentDownloadStatus": "PENDING",
"billing": {
"totalCreditsCharged": 1
}
}
],
"nextCursor": "<string>"
}ingestion
/ingest/batches
Returns a paginated list of batches you’ve submitted, newest first.
Use the nextCursor value from the response as the cursor query parameter to fetch the next page.
GET
/
api
/
v1
/
ingest
/
batches
/ingest/batches
curl --request GET \
--url https://api.evermuse.com/api/v1/ingest/batches \
--header 'x-api-key: <api-key>'import requests
url = "https://api.evermuse.com/api/v1/ingest/batches"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.evermuse.com/api/v1/ingest/batches', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.evermuse.com/api/v1/ingest/batches",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.evermuse.com/api/v1/ingest/batches"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.evermuse.com/api/v1/ingest/batches")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evermuse.com/api/v1/ingest/batches")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"batches": [
{
"batchId": "<string>",
"status": "LANDING",
"createdAt": 1709282096000,
"acceptedCount": 1,
"rejectedCount": 1,
"totalErrorCount": 1,
"errors": [
{
"index": 1,
"code": "<string>",
"message": "<string>"
}
],
"source": "<string>",
"type": "<string>",
"attachmentDownloadTotal": 1,
"attachmentDownloadComplete": 1,
"attachmentDownloadFailed": 1,
"attachmentDownloadStatus": "PENDING",
"billing": {
"totalCreditsCharged": 1
}
}
],
"nextCursor": "<string>"
}Authorizations
Your API key, sent as the x-api-key header.
Create one in Settings > API Keys with api:write permission.
Format: em_sk_...
Query Parameters
Number of batches to return per page. Defaults to 20, maximum 100.
Required range:
1 <= x <= 100Pagination cursor from a previous response's nextCursor field.
Omit to start from the most recent batch.
Maximum string length:
256