Overview
The/inform endpoint allows you to provide information to your Hyperaide assistant without triggering any immediate actions. Use this when you want to add context or data to your assistant’s knowledge base for future reference.
Use this endpoint when you want to share information with your assistant but don’t need it to take action. The information becomes part of your conversation history and can be referenced later.
Endpoint
Authentication
Include your API key in the request headers:Request Body
The information you want to share with your assistant. Can be any text, data, or context you want to make available.Example:
"The deployment to production completed successfully at 3:45 PM"Request Example
Response
Success Response (200 OK)
Unlike
/instruct, this endpoint doesn’t trigger your assistant to take actions. It simply records the information as context.Error Responses
401 Unauthorized
401 Unauthorized
404 Not Found
404 Not Found
User not foundThe API key is valid but the associated user doesn’t exist. Contact support.
Inform vs Instruct
Understanding when to use each endpoint:- Use Inform When
- Use Instruct When
You want to provide context without triggering actions✅ Logging events for future reference
✅ Recording metrics or status updates
✅ Feeding data into your assistant’s knowledge base
✅ Building context for later queries
✅ Passive information sharing
✅ Recording metrics or status updates
✅ Feeding data into your assistant’s knowledge base
✅ Building context for later queries
✅ Passive information sharing
Use Cases
- Activity Logging
- Status Updates
- Data Ingestion
- Context Building
Keep your assistant informed about system eventsLater, you can ask your assistant: “How many users completed onboarding this week?”
Best Practices
Structured Information
Include relevant details and structure your information clearly for easy reference
Consistent Format
Use consistent formats for similar types of information to help your assistant recognize patterns
Relevant Context
Include timestamps, identifiers, and context that makes the information useful later
Batch When Possible
For multiple related updates, consider combining them into a single inform call
Example Workflow
Here’s howinform and instruct work together:
How Information is Used
Information sent via/inform:
- Stored in Context: Added to your conversation history
- Searchable: Can be referenced in future queries
- Analyzed: Your assistant can identify patterns and trends
- Recalled: Available when relevant to future conversations
Related Endpoints
POST /instruct
Use this endpoint when you want your assistant to take action on information