Latest compliance result for a playlist
Returns the most recent compliance scan result for the playlist. A fresh scan is queued automatically on every company create + update.
curl --request GET \
--url https://api.fluid.app/api/v202604/company/playlists/{id}/compliance \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/company/playlists/{id}/compliance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/company/playlists/{id}/compliance', 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.fluid.app/api/v202604/company/playlists/{id}/compliance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.fluid.app/api/v202604/company/playlists/{id}/compliance"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.fluid.app/api/v202604/company/playlists/{id}/compliance")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/company/playlists/{id}/compliance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"item": {
"id": 77,
"score": "8.4",
"status": "excellent",
"summary": "All required disclosures present; no banned phrases detected.",
"scanned_at": "2026-06-23T13:42:33Z",
"service": "openai",
"created_at": "2026-06-23T13:42:33Z",
"updated_at": "2026-06-23T13:42:33Z",
"compliance_issues": []
},
"meta": {
"request_id": "7f3c2a90-1c2b-4d5e-9aaa-112233445566",
"timestamp": "2026-07-15T12:34:56Z"
}
}{
"message": "No Compliance scan exists. Scan has been triggered automatically.",
"scan_status": {
"status": "pending",
"requested_at": "2026-06-23T13:42:00Z"
},
"meta": {
"request_id": "7f3c2a90-1c2b-4d5e-9aaa-112233445566",
"timestamp": "2026-07-15T12:34:56Z"
}
}{
"message": "Invalid credentials."
}{
"error": "Not authorized."
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 25,
"prev_cursor": "<string>",
"next_cursor": "<string>"
}
}
}Authorizations
Bearer token authentication. Accepts company-admin tokens with
storefront.view for read operations and storefront.update
for writes and scan triggers (legacy per-resource grants like
categories.update / products.view / etc. are still accepted
during the migration), required on every company operation.
Storefront public operations under /api/v202604/{resource} and
/api/v202604/{resource}/{slug} are unauthenticated
(security: []).
Path Parameters
The unique identifier of the playlist.
Response
Latest compliance result.
Latest compliance scan result for the resource: the record nested
under item plus the meta envelope. Nullable fields are
unpopulated until the first successful scan.
curl --request GET \
--url https://api.fluid.app/api/v202604/company/playlists/{id}/compliance \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/company/playlists/{id}/compliance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/company/playlists/{id}/compliance', 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.fluid.app/api/v202604/company/playlists/{id}/compliance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.fluid.app/api/v202604/company/playlists/{id}/compliance"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.fluid.app/api/v202604/company/playlists/{id}/compliance")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/company/playlists/{id}/compliance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"item": {
"id": 77,
"score": "8.4",
"status": "excellent",
"summary": "All required disclosures present; no banned phrases detected.",
"scanned_at": "2026-06-23T13:42:33Z",
"service": "openai",
"created_at": "2026-06-23T13:42:33Z",
"updated_at": "2026-06-23T13:42:33Z",
"compliance_issues": []
},
"meta": {
"request_id": "7f3c2a90-1c2b-4d5e-9aaa-112233445566",
"timestamp": "2026-07-15T12:34:56Z"
}
}{
"message": "No Compliance scan exists. Scan has been triggered automatically.",
"scan_status": {
"status": "pending",
"requested_at": "2026-06-23T13:42:00Z"
},
"meta": {
"request_id": "7f3c2a90-1c2b-4d5e-9aaa-112233445566",
"timestamp": "2026-07-15T12:34:56Z"
}
}{
"message": "Invalid credentials."
}{
"error": "Not authorized."
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 25,
"prev_cursor": "<string>",
"next_cursor": "<string>"
}
}
}