-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtest_local.http
More file actions
53 lines (46 loc) · 2.12 KB
/
Copy pathtest_local.http
File metadata and controls
53 lines (46 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
### On-Call Copilot – Local test requests
### Use with VS Code REST Client extension or any HTTP client.
### Start the server first: python main.py
### ──────────────────────────────────────────────
### Demo 1: Simple alert – quick triage
### ──────────────────────────────────────────────
POST http://localhost:8088/responses HTTP/1.1
Content-Type: application/json
{
"input": [
{
"role": "user",
"content": "Paste the contents of scripts/demos/demo_1_simple_alert.json here as a JSON string."
}
]
}
### ──────────────────────────────────────────────
### Demo 2: Multi-signal incident (logs + metrics)
### ──────────────────────────────────────────────
POST http://localhost:8088/responses HTTP/1.1
Content-Type: application/json
{
"input": [
{
"role": "user",
"content": "Paste the contents of scripts/demos/demo_2_multi_signal.json here as a JSON string."
}
]
}
### ──────────────────────────────────────────────
### Demo 3: Post-incident report synthesis
### ──────────────────────────────────────────────
POST http://localhost:8088/responses HTTP/1.1
Content-Type: application/json
{
"input": [
{
"role": "user",
"content": "Paste the contents of scripts/demos/demo_3_post_incident.json here as a JSON string."
}
]
}
### ──────────────────────────────────────────────
### Readiness check
### ──────────────────────────────────────────────
GET http://localhost:8088/readiness HTTP/1.1