Contextual answer
Context
Query related information while preserving its source, freshness and permissions.
SOCEO APIs
Bring SOCEO into your product. Explore how a query identifies its sources, how an action requests approval and how to follow the result.
Query from the campaign agent
Which operational change needs attention?
Illustrative answer
Falling conversion rates are linked to outdated ad creatives.
The reading uses 2 authorized sources and declares 1 gap. The proposed action goes to Marketing, with a seven-day deadline and human approval before it becomes work.
Illustrative example. A product team connects the company’s campaign agent to the SOCEO APIs. Instead of receiving the whole business in every prompt, the agent queries context under its own identity and gets back the reading, the sources behind it and what is still unknown.
Documentation
Choose an operation to read the code and inspect its fields. You can copy any example.
Integration example
const leitura = await soceo.contexto.consultar({
identidade: "agente-campanhas",
pergunta: "Which operational change needs attention?",
incluir: ["fontes", "permissoes", "lacunas"]
});
return {
resposta: leitura.contexto,
fontes: leitura.fontes,
lacunas: leitura.lacunas
};
Integration example
const acao = await soceo.acoes.criar({
aPartirDe: leitura,
objetivo: "Review the change with the responsible team",
governanca: {
dono: "marketing",
prazo: new Date(Date.now() + 7 * 864e5).toISOString().slice(0, 10),
exigeAprovacao: true
}
});
return acao;
Integration example
const resultado = await soceo.resultados.acompanhar({
trabalho: acao.id,
compararCom: "objetivo-aprovado",
devolverAoContexto: true
});
return {
estado: resultado.estado,
evidencias: resultado.fontes,
proximoPasso: resultado.recomendacao
};
Build on business context
The SOCEO APIs connect data, sources, permissions and actions in an operational layer that other applications can query with confidence.
The SOCEO APIs start from operational context: the right data, within the right scope, with a clear path back to the source.
Sources and systems
Operational layer
Declared gaps
SOCEO API
Governed boundary
What you build
Contextual answer
Query related information while preserving its source, freshness and permissions.
Work scope
Give agents a structured view of the operation without repeating the whole business in every prompt.
Governed execution
Turn answers into controlled work, with approval, an owner, a deadline and history when needed.
API capabilities
Query what the business knows, preserve the source of every answer and turn context into controlled work.
SOCEO API · Example request and response
01 · Input
POST/v1/context/query
Ask about business entities, relationships and events.
GET/v1/sources/{id}
Go back to the source behind any answer, decision or action.
GET/v1/events
Receive relevant changes with history and context preserved.
POST/v1/actions
Turn an answer into work with an owner, a deadline and approval.
SOCEO core
Operational
Response
200 OK
{
"contexto": { ... },
"fontes": [ ... ],
"lacunas": [ ... ],
"proxima_acao": { ... }
}
Go to the documentation, create your key and choose the workspace whose context your application will query.
Products, agents and workflows that query business context, preserve sources and permissions and turn answers into controlled actions.
The backend applies the scope of the identity making the request and returns source, permissions and gaps with the relevant answers.
The documentation is on this page, with OpenAPI contracts, references and integration examples.
Yes. Each agent receives its own identity, objective, tools and permissions to work within the perimeter defined by the business.
SOCEO APIs
Read the documentation, connect your application and build with real business context.
Documentation, references and integration examples