Skip to content

move to app.credal.ai - #376

Open
jackfischer wants to merge 1 commit into
mainfrom
jack/app.credal.ai
Open

jackfischer wants to merge 1 commit into
mainfrom
jack/app.credal.ai

Conversation

@jackfischer

Copy link
Copy Markdown
Member

No description provided.

@greptile-apps

greptile-apps Bot commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR migrates all API base URLs from api.credal.ai to app.credal.ai, updating both the Fern SDK environment definition and the audit-logs documentation. All six occurrences of the old domain have been replaced and no stale api.credal.ai references remain in the repository.

Confidence Score: 5/5

Safe to merge — all domain references updated consistently with no regressions introduced.

Only P2 findings remain, both flagging pre-existing URL path mismatches that were not introduced by this PR. The domain migration itself is complete and correct.

No files require special attention; the two P2 comments in audit-logs-api.mdx are pre-existing issues worth a follow-up but not blockers.

Important Files Changed

Filename Overview
fern/apis/v0/definition/api.yml Single-line domain change in the Production environment URL from api.credal.ai to app.credal.ai — correct and complete.
fern/docs/pages/administration/audit-logs-api.mdx Domain updated in all six URL occurrences; however, pre-existing path mismatches between the Base URL and cURL example for the AI Audit Logs and AI Usage Analytics sections were not fixed.
Prompt To Fix All With AI
This is a comment left during a code review.
Path: fern/docs/pages/administration/audit-logs-api.mdx
Line: 30

Comment:
**Base URL and cURL example path mismatch (pre-existing)**

The Base URL on line 15 includes `/v0/` (`/api/v0/audit-logs/organization`), but the cURL example below omits it (`/api/audit-logs/organization`). Since you're already touching these URLs, it's worth aligning them so readers use the correct path.

```suggestion
curl 'https://app.credal.ai/api/v0/audit-logs/organization' \
```

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: fern/docs/pages/administration/audit-logs-api.mdx
Line: 111

Comment:
**Base URL and cURL example path segment order differ (pre-existing)**

The Base URL on line 96 is `/api/audit-logs/v0/usage-analytics/`, but the cURL example has the segments in a different order: `/api/v0/audit-logs/usage-analytics`. One of these is likely wrong; since you're already touching these URLs, it's a good moment to verify and align them.

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "done" | Re-trigger Greptile

**Example cURL request**
```bash
curl 'https://api.credal.ai/api/audit-logs/organization' \
curl 'https://app.credal.ai/api/audit-logs/organization' \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Base URL and cURL example path mismatch (pre-existing)

The Base URL on line 15 includes /v0/ (/api/v0/audit-logs/organization), but the cURL example below omits it (/api/audit-logs/organization). Since you're already touching these URLs, it's worth aligning them so readers use the correct path.

Suggested change
curl 'https://app.credal.ai/api/audit-logs/organization' \
curl 'https://app.credal.ai/api/v0/audit-logs/organization' \
Prompt To Fix With AI
This is a comment left during a code review.
Path: fern/docs/pages/administration/audit-logs-api.mdx
Line: 30

Comment:
**Base URL and cURL example path mismatch (pre-existing)**

The Base URL on line 15 includes `/v0/` (`/api/v0/audit-logs/organization`), but the cURL example below omits it (`/api/audit-logs/organization`). Since you're already touching these URLs, it's worth aligning them so readers use the correct path.

```suggestion
curl 'https://app.credal.ai/api/v0/audit-logs/organization' \
```

How can I resolve this? If you propose a fix, please make it concise.

**Example cURL request**
```bash
curl 'https://api.credal.ai/api/v0/audit-logs/usage-analytics' \
curl 'https://app.credal.ai/api/v0/audit-logs/usage-analytics' \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Base URL and cURL example path segment order differ (pre-existing)

The Base URL on line 96 is /api/audit-logs/v0/usage-analytics/, but the cURL example has the segments in a different order: /api/v0/audit-logs/usage-analytics. One of these is likely wrong; since you're already touching these URLs, it's a good moment to verify and align them.

Prompt To Fix With AI
This is a comment left during a code review.
Path: fern/docs/pages/administration/audit-logs-api.mdx
Line: 111

Comment:
**Base URL and cURL example path segment order differ (pre-existing)**

The Base URL on line 96 is `/api/audit-logs/v0/usage-analytics/`, but the cURL example has the segments in a different order: `/api/v0/audit-logs/usage-analytics`. One of these is likely wrong; since you're already touching these URLs, it's a good moment to verify and align them.

How can I resolve this? If you propose a fix, please make it concise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant