Provided by Exa
Search the Web for Pages by Meaning, From a Natural-Language Description (Exa)
Search an index of web pages by the meaning of a natural-language description instead of by exact keywords: Exa's neural retrieval returns the pages whose content is closest in meaning to what was described, each with its title, link, published date and author. One description per request, up to 25 pages. Ranking is semantic, so a full sentence works better here than a two-word keyword phrase.
How to run it
Step 1Set up
Once: paste this into your agent's chat. The Skill installs the CLI and logs in by itself. For an agent that cannot use a shell, connect it over MCP instead.
set up https://glasser.ai/SKILL.md
Show me how to use the Exa endpoint /search on Glasser.glasser run -p exa -e '/search' -i '{"query":"startups building solid-state batteries for grid storage","numResults":10}' --endpoint-version 1Uses endpoint version 1. Inspect the current price before running. Install and log in first on Get Started.
Once per Run:
IDEMPOTENCY_KEY=$(uuidgen)Run it, and copy this same block to send it again:
curl -X POST https://api.glasser.ai/v1/runs \
-H "Authorization: Bearer gl_..." \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"exa","endpoint":"/search","input":{"query":"startups building solid-state batteries for grid storage","numResults":10},"endpoint_version":1}'Reuse the same Idempotency-Key to send it again: the second send is a read of the first Run. A new key is a new Run and a new Charge. Uses endpoint version 1; inspect the current price before running.
Step 2Try a specific example task
When you need to research a question, you might search for relevant sources and review which results are worth reading more closely.
Copy this prompt into your agent to find sources for your research question.
Use exa:/search on Glasser.
Search for sources about my research question and explain which returned results are relevant.Endpoint structure
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"category": {
"enum": [
"company",
"publication",
"news",
"personal site",
"financial report",
"people"
],
"type": "string"
},
"contents": {
"type": "object",
"properties": {
"text": {
"type": "object",
"properties": {
"maxCharacters": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
"highlights": {
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxCharacters": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"numResults": {
"type": "integer",
"maximum": 25,
"minimum": 1
},
"excludeDomains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?=.*\\.)(\\*\\.)?[a-z0-9-]+(\\.[a-z0-9-]+)*(\\/[^\\s]*)?$",
"maxLength": 253,
"minLength": 4
},
"maxItems": 50,
"minItems": 1
},
"includeDomains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?=.*\\.)(\\*\\.)?[a-z0-9-]+(\\.[a-z0-9-]+)*(\\/[^\\s]*)?$",
"maxLength": 253,
"minLength": 4
},
"maxItems": 50,
"minItems": 1
},
"endPublishedDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$"
},
"startPublishedDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$"
}
},
"additionalProperties": false
}{
"query": "startups building solid-state batteries for grid storage",
"numResults": 10
}This Endpoint publishes no output schema. You get the Provider's own response body, unchanged — we do not warrant a shape we cannot guarantee.
How pricing works
| Base fee | Includes up to 10 results. Charged only when data is returned. | $0.007 |
|---|---|---|
| Per additional result | For each result after the first 10. | $0.001 |
| Maximum per Run | The total charge will not exceed this amount. | $0.022 |
| Provider error | The Provider failed to answer. | $0.00 |
| Timed out | The Run exceeded its time limit. | $0.00 |
| Internal failure | An internal error prevented completion. | $0.00 |