Documentation Index
Fetch the complete documentation index at: https://docs.moda.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
AWS Bedrock provides access to foundation models from multiple providers (Anthropic Claude, Meta Llama, Mistral, etc.) through AWS infrastructure. Since the Moda SDK does not yet have automatic Bedrock support, use the Direct API to send your Bedrock conversation data to Moda.Setup with Direct API
Make a Bedrock call as normal, then send the conversation data to Moda via the Direct API:AWS Credentials
Bedrock uses standard AWS authentication. Configure credentials via:| Method | Description |
|---|---|
| Environment variables | AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION |
| AWS credentials file | ~/.aws/credentials |
| IAM roles | Recommended for production (EC2, ECS, Lambda) |
| AWS SSO | For development environments |
Supported Models
Bedrock provides access to models from multiple providers. Common models include:| Provider | Model ID |
|---|---|
| Anthropic | anthropic.claude-3-sonnet-20240229-v1:0 |
| Anthropic | anthropic.claude-3-haiku-20240307-v1:0 |
| Meta | meta.llama3-70b-instruct-v1:0 |
| Mistral | mistral.mistral-large-2402-v1:0 |
Supported Features
| Feature | Captured |
|---|---|
| Invoke model | Yes |
| Token usage | Yes (when returned by the model) |
| Model name | Yes |
| Conversation threading | Yes (via conversation_id) |
Troubleshooting
Data not appearing?- Verify your Moda API key is correct
- Check that your AWS credentials are valid
- Ensure you’re sending events to
https://moda-ingest.modas.workers.dev/v1/ingest
- Not all Bedrock models return token usage data. Check the model’s response format.
For full Direct API documentation, see the Direct API guide.