Unified cross-resource search
Runs a single text query across tasks, projects, and milestones and returns one
mixed, ranked result set. Each result is tagged with its type.
The q parameter accepts the Slog search query syntax — a whitespace-separated
list of terms ANDed together, with - for negation and comma for OR-within-a-field.
Terms may be free-text keywords, field:value filters, or is:/has:/no:
aliases. A few examples:
is:open assignee:@me priority:>=high due:<=+7d
billing is:overdue
type:task is:blocked team:ENG no:assignee
ref:^ENG-
Type-specific fields implicitly narrow which kinds are searched (e.g. priority:
restricts to tasks). See the Search guide for the full grammar.
curl --request GET \
--url https://slog.ai/search \
--header 'slog-api-key: <api-key>'import requests
url = "https://slog.ai/search"
headers = {"slog-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'slog-api-key': '<api-key>'}};
fetch('https://slog.ai/search', 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://slog.ai/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"slog-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://slog.ai/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("slog-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://slog.ai/search")
.header("slog-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://slog.ai/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["slog-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"results": [
{
"type": "task",
"id": "task_01jqabcd1111",
"reference": "ENG-1",
"title": "Implement OAuth login",
"status": "IN_PROGRESS",
"priority": "HIGH"
},
{
"type": "project",
"id": "proj_01jqproj0001",
"name": "Platform v2",
"status": "ACTIVE"
},
{
"type": "milestone",
"id": "mile_01jqmile0001",
"name": "v1 Launch",
"status": "ACTIVE",
"dueDate": "2026-06-30"
}
],
"pagination": {
"limit": 50,
"nextCursor": null
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "teamId is required"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
}Authorizations
API key obtained from the Slog dashboard or returned by the signup/invite-redeem
flows. Pass as the slog-api-key header.
Query Parameters
The search query, in the Slog search query syntax.
Maximum number of results to return per page.
1 <= x <= 250Response
A page of mixed search results.
curl --request GET \
--url https://slog.ai/search \
--header 'slog-api-key: <api-key>'import requests
url = "https://slog.ai/search"
headers = {"slog-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'slog-api-key': '<api-key>'}};
fetch('https://slog.ai/search', 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://slog.ai/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"slog-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://slog.ai/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("slog-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://slog.ai/search")
.header("slog-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://slog.ai/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["slog-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"results": [
{
"type": "task",
"id": "task_01jqabcd1111",
"reference": "ENG-1",
"title": "Implement OAuth login",
"status": "IN_PROGRESS",
"priority": "HIGH"
},
{
"type": "project",
"id": "proj_01jqproj0001",
"name": "Platform v2",
"status": "ACTIVE"
},
{
"type": "milestone",
"id": "mile_01jqmile0001",
"name": "v1 Launch",
"status": "ACTIVE",
"dueDate": "2026-06-30"
}
],
"pagination": {
"limit": 50,
"nextCursor": null
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "teamId is required"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
}