Authorizations
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Path Parameters
Body
application/json
Try our new Claude Code Skill to automatically integrate Hyperspell into your project
import Hyperspell from 'hyperspell';
const client = new Hyperspell({
apiKey: 'My API Key',
});
const response = await client.evaluate.scoreHighlight('highlight_id');
console.log(response.message);{
"success": true,
"message": "<string>"
}Score an individual highlight.
import Hyperspell from 'hyperspell';
const client = new Hyperspell({
apiKey: 'My API Key',
});
const response = await client.evaluate.scoreHighlight('highlight_id');
console.log(response.message);{
"success": true,
"message": "<string>"
}API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Was this page helpful?